Skip to content

Instantly share code, notes, and snippets.

Useful resources that were used to build the memory graph application. This is also a set of interesting materials which are related to memory understanding.

Source code

  1. The Memory Graph Project builds the memory graph of the application
  2. Python implementation of searching object's references and other interesting features via (lldb) script import lldb.macosx.heap
  3. C++ implementation of searching object's references
  4. FLEX set of in-app debugging and exploration tools for iOS development

Materials and media

  1. WWDC 2018 session iOS Memory Deep Dive
@david8lumen
david8lumen / Request.swift
Last active May 5, 2021 15:34
iOS HTTP Request
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
var components = URLComponents()
components.scheme = "http"
components.host = "192.168.1.53"
components.port = 8000
components.path = "/teachers.json"
// Which finally brings us http://192.168.1.53:8000/teachers.json
if let url = components.url {
URLSession.shared.dataTask(with: url) { data, response, error in
{
"success": true,
"body": [
{
"id": "1",
"first_name": "Julia",
"last_name": "Green"
},
{
"id": "2",