Swift Either enum
Explains how to use the Swift Either enum for type-safe handling of two possible value types, with a practical example for table view data sources.
Explains how to use the Swift Either enum for type-safe handling of two possible value types, with a practical example for table view data sources.
A guide to implementing a protocol-oriented, testable logging system in Swift without leaking dependencies or using singletons.
Guide on using a compiled Core Data model (.momd) in Swift Playgrounds for testing and tinkering.
Guide on using Core Data models in Swift Playgrounds, including setup, limitations, and step-by-step walkthrough.
A tutorial on implementing a custom, generic version of Swift's 'if let' optional unwrapping construct to understand how optionals work.
A guide to organizing Xcode projects with conventions for naming, folder structure, and managing multiple targets and platforms.
Explains Swift's Optional type, its implementation as an enum, and the importance of understanding it beyond basic nil-checking.
Explains why force unwrapping Swift optionals with ! is a code smell, with exceptions for IBOutlets and required properties.
Explains why force unwrapping Swift optionals with ! is a code smell, with exceptions for IBOutlets and required properties.
Explores protocol-oriented programming vs. object-oriented programming in Swift, using a laundry service analogy to explain benefits.
Explores protocol-oriented programming vs. object-oriented programming in Swift using a laundry service analogy.
A Swift guide on extracting PKCS7 containers from receipts using OpenSSL for validation.
Guide to extracting PKCS7 containers for receipt validation in Swift using OpenSSL.
Explains how to use Swift's @available attribute to mark methods as unavailable, with examples for subclassing and legacy code.
A guide on creating calendar events using Event Kit and Swift in iOS development.
Guide on creating calendar events using Event Kit and Swift, with code walkthrough and working project example.
Mike Ash announces a hiatus from regular blog posts to focus on completing his book, 'The Complete Friday Q&A: Volume II'.
A Swift cheat sheet for working with NSDate, NSDateFormatter, and NSDateComponents, including code examples.
A Swift cheat sheet for working with NSDate, NSDateFormatter, and NSDateComponents, including code examples.
Explores bridging Swift's modern features with a large legacy Objective-C/C++ codebase, discussing practical integration strategies.