Swift Modules and Code/Assets Duplication
How to use SPM modules in an Xcode project with several targets and avoid duplicated code and assets.
How to use SPM modules in an Xcode project with several targets and avoid duplicated code and assets.
A diagnostic of slow Swift build times after modularizing, focusing on module verification and practical fixes to speed up compilation.
Describes problems and solutions when integrating Swift packages into an Objective-C project structure that uses static frameworks.
Patterns and practical workarounds for using generic view controllers with storyboards when the storyboard needs a concrete class.
Presents `AnyDecodable`, a flexible approach to decoding JSON with `Codable` when the exact types are unknown ahead of time.
Practical steps to modularize an Xcode project into separate frameworks and common pitfalls related to linking and build flags.
A tutorial-style deep dive into working with unsafe pointers in Swift—memory layout, buffers, and patterns to work safely.
Describes a Swift UI component to centralize font choices and support Dynamic Type and Dark Mode consistently across the app.
Introduces a simple Expectation object (backed by `NSCondition`) for waiting on asynchronous tasks outside of XCTest.
How to use `NSSocketPort` to spin up a simple TCP server for testing without adding heavyweight dependencies.
A deep-dive into an NSOperation KVO bug and practical guidance on managing asynchronous operation state to prevent hangs.
How to manage multiple Xcode build configurations with .xcconfig files so build settings stay maintainable and preprocessor logic stays readable.
A practical guide to implementing a token bucket in Swift to rate-limit work without fragile timers or runloop dependencies.