Dynamic libraries and code replacements in Swift
Explains how to create and use dynamic libraries in Swift, including method swizzling for features like SwiftUI previews.
Explains how to create and use dynamic libraries in Swift, including method swizzling for features like SwiftUI previews.
Explores the technical challenge of dynamically calling a superclass method at runtime in Swift, diving into Objective-C runtime internals.
Introduces InterposeKit, a modern Swift library for elegant method swizzling, with developer insights on its creation and related Swift/tech topics.
Explains method swizzling in Swift, its uses, common pitfalls, and provides a practical example for iOS developers.
Explores the pitfalls of common Objective-C method swizzling techniques and proposes a more robust approach to avoid runtime issues.