Friday Q&A 2017-10-27: Locks, Thread Safety, and Swift: 2017 Edition
An updated guide to locks, mutexes, and thread safety in Swift, covering modern APIs and best practices for concurrent programming.
An updated guide to locks, mutexes, and thread safety in Swift, covering modern APIs and best practices for concurrent programming.
A tutorial on creating a universal Swift framework for iOS, macOS, tvOS, and watchOS, covering both traditional and cross-platform methods.
Improving Swift test debugging by pinpointing exact property differences between object instances instead of generic failure messages.
A tutorial on how to retrieve all possible values from a Swift enum, covering both the modern CaseIterable protocol and a legacy solution.
A tutorial on creating reusable view components for modern iOS collection views using compositional layout and diffable data sources.
A guide to Swift result builders, explaining how to create type-safe Domain-Specific Languages (DSLs) for tasks like HTML generation.
A tutorial on implementing asynchronous validation for input data in Vapor, a server-side Swift framework, to enhance API safety.
A comprehensive tutorial on Apple's Combine framework for declarative, functional reactive programming in Swift, covering publishers, operators, and subscribers.
A curated list of the top 20 open-source Swift libraries for iOS development, covering networking, server-side, reactive programming, and more.
A comprehensive guide to public and private Swift language attributes, explaining their purposes and usage with code examples.
Explains UIKit initialization patterns for UIViewController and UIView in Swift, covering storyboard, nib, and programmatic setup.
A Swift library for creating type-safe, declarative keys for UserDefaults, eliminating casting and string repetition.
Introduces LifetimeTracker, a tool for iOS developers to detect retain cycles and memory leaks during development, improving debugging efficiency.
Explains the implementation details and changes to weak references in Swift 4, comparing the old and new runtime behavior.
Highlights the key new features and improvements introduced in the Swift 4 programming language.
Mike Ash announces corporate Swift training, a NYC Swift workshop, and an update on his upcoming book compilation of Friday Q&A articles.
Explains a Swift KVO crash with .initial option and provides a solution using global/static context variables for thread safety.
A deep dive into the internal implementation of Swift's error handling mechanism, comparing Swift 3 and Swift 4.
Explains Swift's Unmanaged struct for converting Swift object references to/from raw pointers when working with C APIs.
A technical article exploring the implementation of a custom binary encoder/decoder for Swift using the Codable protocol.