Tag: iOS
All the articles with the tag "iOS".
-
Migrating 700+ Tests to Swift Testing: A Real-World Experience
Published:• 13 min readHow I migrated over 700 tests from XCTest to Swift Testing across two projects, with AI assistance and systematic refinement
-
Fixing keyboardShortcut in SwiftUI
Published:• 7 min readDebugging and fixing a SwiftUI keyboardShortcut bug that fails when mixing SwiftUI with UIKit through reverse engineering and LLDB analysis.
-
Supporting Both Tap and Long Press on a Button in SwiftUI
Published:• 6 min readCreating a SwiftUI button that supports both tap and long-press gestures by bridging to UIKit when SwiftUI's gesture system fails on Catalyst.
-
Apple Silicon M1: A Developer's Perspective
Published:• 8 min readA comprehensive evaluation of the M1 MacBook Air as a development machine, covering Xcode performance, compatibility issues, and the transition challenges for developers.
-
Disabling Keyboard Avoidance in SwiftUI's UIHostingController
Published:• 6 min readFixing unwanted keyboard avoidance behavior in UIHostingController using runtime dynamic subclassing to override keyboard notification handling methods.
-
The State of SwiftUI
Published:• 7 min readTesting SwiftUI's production readiness in iOS 14 and macOS Big Sur through Apple's Fruta sample app, revealing performance issues and platform-specific limitations.
-
Logging in Swift
Published:• 15 min readAn in-depth exploration of Apple's unified logging system and the promising OSLogStore API that Apple removed from iOS 14 at the last minute.
-
Building with Swift Trunk Development Snapshots
Published:• 4 min readA troubleshooting guide for building with Swift trunk development snapshots, documenting compilation errors, linker issues, and their solutions.
-
How to Fix LLDB: Couldn't IRGen Expression
Published:• 10 min readSolving the mysterious LLDB 'Couldn't IRGen expression' error by investigating Swift module path serialization and discovering that removing dSYM bundles fixes debugging issues.
-
Swizzling in Swift
Published:• 10 min readA deep dive into safe method swizzling techniques in Swift, covering common pitfalls and the correct way to implement dynamic super calls.