Lightweight dependency injection and unit testing using async functions
Explores using Swift's async/await for lightweight dependency injection and easier unit testing of asynchronous networking code.
Explores using Swift's async/await for lightweight dependency injection and easier unit testing of asynchronous networking code.
A developer shares initial impressions of learning Swift and SwiftUI for iOS development, comparing it to Rust and discussing its syntax and features.
Explains the role of Tasks in Swift's concurrency system, focusing on bridging synchronous UI code with asynchronous operations and automatic main thread handling.
Explores the creation, maintenance, and uncertain future of a ReactiveSwift fork of the Composable Architecture (TCA) for cross-platform compatibility.
A tutorial on implementing tree data structures in Swift, covering structs, enums, and classes for representing hierarchical data.
A guide to writing unit tests for Swift code that uses async/await, covering asynchronous test methods and error handling.
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.