Skip to content

Instantly share code, notes, and snippets.

View Kirow's full-sized avatar

Kirill Serebriakov Kirow

View GitHub Profile
@Kirow
Kirow / different-results.swift
Last active September 12, 2019 15:20
GRDB Playgrounds
// 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)
@Kirow
Kirow / MemoryLeak.swift
Created July 19, 2023 11:23
SwiftUI, LazyVStack, ObservedObject, Memory Leak
import Foundation
import SwiftUI
struct ReferenceCounter {
class Box {
weak var value: ViewModel.Element?
}
private var objects: [Box] = []
@Kirow
Kirow / reverse-engineering-macos.md
Created October 22, 2024 09:44 — forked from 0xdevalias/reverse-engineering-macos.md
Some notes, tools, and techniques for reverse engineering macOS binaries