Building editable lists with SwiftUI
A tutorial on implementing editable lists in SwiftUI, covering item editing, moves, deletions, and enabling edit mode.
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.
Explains how to use Swift 5.5's static protocol APIs to create instances with dot syntax, improving code readability and SwiftUI integration.
A guide to improving debugging in the Composable Architecture (TCA) by handling large state diffs and filtering noisy actions.
Explains how to use XCTAttachment in XCTest to attach files, images, and data to test results for easier debugging.
Explains how to use Swift's @unknown default attribute in switch statements to handle future enum cases safely, preventing bugs.
A guide to building command-line applications and tools using Swift, covering scripts, arguments, and process info.