A deep dive into Collections, Sequences, and Iterators in Swift
An in-depth exploration of how iteration works in Swift, covering Sequences, Collections, and Iterators with technical implementation details.
DonnyWals.com is the technical blog of Donny Wals, an iOS engineer, author, and educator focused on Swift and iOS development. Donny writes detailed and practical tutorials on topics such as Swift concurrency, SwiftUI, Core Data, Combine, and building apps that make full use of Apple’s frameworks. His posts often explore new features in Swift, dig into how things work under the hood, and help developers build production-ready apps using modern patterns. With books, workshops, and a newsletter to accompany the blog, Donny’s writing is well suited for both intermediate and advanced iOS engineers looking for depth and clarity.
10 articles from this blog
An in-depth exploration of how iteration works in Swift, covering Sequences, Collections, and Iterators with technical implementation details.
Learn how to use Swift's new Observations framework to observe @Observable model properties outside of SwiftUI with Xcode 26 and Swift 6.2.
A guide on using [weak self] in Swift Concurrency Tasks to prevent memory leaks, covering weak-strong patterns and best practices.
Analyzing Swift 6.2's Main Actor isolation feature, exploring its impact on concurrency and whether developers should enable it.
Explains how to enable and use the 'Approachable Concurrency' compiler setting in Xcode 26 to adopt Swift 6.2's concurrency features.
Explains the Swift ternary operator for concise conditional logic, including usage examples and comparisons with if expressions.
A guide to implementing Universal Links for iOS apps, covering server setup and app configuration for secure deep linking.
A tutorial on grouping Liquid Glass UI components in iOS 26 SwiftUI using the glassEffectUnion modifier to replicate an Apple Maps interface.
A guide to building custom UI components using the new Liquid Glass design language in iOS 26 with SwiftUI.
Explains how to fix actor-isolated protocol conformance errors in Swift 6.2, focusing on @MainActor usage and avoiding data races.