Switching Your Brain to Swift
A guide for developers transitioning from Objective-C to Swift, focusing on safety concepts like optionals and value semantics.
A guide for developers transitioning from Objective-C to Swift, focusing on safety concepts like optionals and value semantics.
A quick tip on converting a Swift String into an array of characters using the map function.
Swift extensions to simplify Core Data localization, including methods for localizing entity names and working with model strings files.
A guide to packaging iOS IPA files with Swift code using a custom terminal script, addressing issues in automated build pipelines.
A guide to creating type-safe Core Data objects in Swift, covering convenience initializers and factory methods to avoid string-based APIs.
A tutorial on using Xcode 7's UI testing framework, focusing on asynchronous waiting for view changes with code examples.
Xcode 7 beta 4 fixes @objc class prefixes, allowing proper namespacing for Swift classes used in Objective-C.
A tutorial on using Carthage to add Quick and Nimble testing frameworks to a Swift 2 project in Xcode 7.
Explores different approaches to testing the data layer in mobile apps using Realm, including in-memory vs on-disk benchmarks.
A first look at the new UI testing framework introduced in Xcode 7 and iOS 9, including setup and a sample test.
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.
Explains a common Objective-C bug where messaging nil returns a zeroed struct, causing unexpected behavior when checking for NSNotFound.
Performance comparison of Swift vs. Foundation collection data types, including detailed test results and Big-O notation analysis.
Introducing Playgrounds for Objective-C, enabling real-time code testing and rapid prototyping similar to Swift's feature.
A technical tutorial using Swift code to model and calculate caloric needs for fitness goals, explaining BMR and activity factors.
A guide to using LLDB, the Swift REPL, and Xcode's debugging tools like breakpoints to find and fix errors in Swift code.
A developer's deep dive into debugging an unexpected UIMenuController behavior in iOS, revealing intricacies of the responder chain and canPerformAction.
Lessons learned from debugging iOS In-App Purchases, including avoiding app quits during purchases and the importance of logging.
Discusses Apple's removal of class prefix encouragement in Objective-C projects and the implications for iOS developers.