Some notes, tools, and techniques for reverse engineering macOS binaries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To run this playground, select and build the GRDBOSX scheme. | |
import GRDB | |
import PlaygroundSupport | |
//models | |
public struct User: Codable, TableRecord, FetchableRecord, MutablePersistableRecord { | |
public static let databaseTableName: String = "user" | |
public static let log = hasMany(StateLog.self) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import SwiftUI | |
struct ReferenceCounter { | |
class Box { | |
weak var value: ViewModel.Element? | |
} | |
private var objects: [Box] = [] | |
OlderNewer