Using count vs isEmpty to check whether a collection contains any elements
Explains the performance difference between using `isEmpty` and `count == 0` to check for empty collections in Swift, focusing on time complexity.
Explains the performance difference between using `isEmpty` and `count == 0` to check for empty collections in Swift, focusing on time complexity.
Explains how to make Swift's new async/await system APIs work on older iOS versions using continuations.
Xcode 13.2 beta brings backward compatibility for Swift's async/await and other concurrency features to older OS versions like iOS 13.
Explains how to use Swift's generic type constraints with the 'where' keyword to create specialized extensions for types and protocols.
Explains when to directly access vs. subscribe to Swift @Published properties in unit tests, focusing on testing initial values versus value changes over time.
A tutorial on implementing editable lists in SwiftUI, covering item editing, moves, deletions, and enabling edit mode.
Lyft's iOS team details their journey from a monolithic Objective-C app to a modern, modular architecture to improve scalability and maintainability.
A technical guide to implementing a reorderable UICollectionView in iOS using compositional layouts, diffable data sources, and context menus.
Explains how to implement a download progress bar using Swift's new async/await features and the AsyncBytes API in iOS 15.
A technique using a Backport struct to simplify writing Swift code that supports multiple iOS/Swift versions, making availability checks cleaner.
A technical guide explaining how to disable the default transparent UITabBar behavior in iOS 15 using UITabBarAppearance.
A guide to fixing iOS 15's default transparent navigation bar behavior in apps using UINavigationBarAppearance.
A guide to loading and formatting HTML text with links in a UITextView on iOS, including code for preserving fonts and handling link taps.
Explains how to use Combine's share operator in Swift to prevent duplicate network calls and efficiently reuse publishers.
A guide to binary operations and integer representation using the UInt8 type in the Swift programming language.
A detailed guide to the Bool data type in Swift, covering its creation, logical operators, and usage in conditional statements.
Explains how Swift 5.5's Codable API automatically synthesizes encoding/decoding for enums, including those with associated values.
A guide to setting up isolated Core Data unit tests using a SQLite persistent store for reliable, production-like testing.
Explores Swift's async sequences, streams, and Combine, detailing how to build custom sequences and iterators for asynchronous operations.
A technique for creating and configuring a NSPersistentContainer in Core Data using a generic extension and configurator protocol.