Outlets: strong! or weak?
Explains when to use strong vs. weak and optional vs. implicitly unwrapped IBOutlets in Swift/iOS development, with practical rules.
Scott Berrevoets is an iOS-focused software engineer with over a decade of experience building and scaling mobile platforms. Currently at Speak and formerly a long-time iOS tech lead at Lyft, he writes about iOS development, architecture, and mobile engineering.
28 articles from this blog
Explains when to use strong vs. weak and optional vs. implicitly unwrapped IBOutlets in Swift/iOS development, with practical rules.
Xcode 7 beta 4 fixes @objc class prefixes, allowing proper namespacing for Swift classes used in Objective-C.
A developer's experience with Apple's UIStackView, explaining how it simplifies complex UI layouts in iOS compared to traditional Auto Layout.
A developer discovers and documents a bug in Xcode where the @objc attribute fails to create the correct class name for Swift classes used in Objective-C.
Proposes a 'dev-only iPhone' concept to reduce costs for iOS developers needing multiple devices for testing different OS versions and configurations.
A developer's deep dive into debugging an unexpected UIMenuController behavior in iOS, revealing intricacies of the responder chain and canPerformAction.
A developer shares amusing and obscure quirks found in Xcode, Objective-C, and Apple's private iOS frameworks, including oddly named constants and gesture recognizers.
Discusses Apple's removal of class prefix encouragement in Objective-C projects and the implications for iOS developers.