RSSAmplifier

Blog

LucasVanDongen.dev - Swift, iOS and macOS development

A blog about researching the ins and outs of Swift development

lucasvandongen.devRSS feed ↗8 posts

Latest posts

Using the New Swift Testing API to Test our Domain Layer: Part 2 of Re-Building Ovo Timer using SwiftUI and Xcode 16

This short article highlights how to use LinePlot in Xcode 16. It is a part of a series of articles about recreating Ovo Timer

Drawing a Custom Spiral using SwiftUI LinePlot: Part 1 of Re-Building Ovo Timer using SwiftUI and Xcode 16

This short article highlights how to use LinePlot in Xcode 16. It is a part of a series of articles about recreating Ovo Timer

Pinning Swift Package Versions: Predictable SPM Package Versions Across All Machines

Swift Build Consistency by Pinning Your Package Versions: Enhance your Swift development workflow by implementing version pinning for your packages. This summary provides insights into maintaining project consistency, reducing build issues, and managing updates efficiently.

Challenges When Re-using SwiftUI Cells in a UITableView: A Case of Confused Identity

Using SwiftUI Views in UITableViews and UICollectionViews works really great, but it can have unexpected edge cases! Read this article if you want to see how you can use iOS 16's API's to embed SwiftUI Views in UITableViewCells and deal with cell re-use.

Comparing Four different approaches towards Dependency Injection: Part II of Dependency Injection for Modern Swift Applications

Discover the art of Dependency Injection in Swift applications. This article compares four key approaches - Manual Tree, EnvironmentObject, Factory, and Needle - to help you choose the right DI strategy. It breaks down the pros and cons, providing insights into making your Swift applications more robust and maintainable. A must read to enhance your Swift development skills.

Managing Dependencies in the Age of SwiftUI: Part I of Dependency Injection for Modern Swift Applications

Dive into the essentials of Dependency Injection (DI) for Swift and SwiftUI applications. Lucas van Dongen demystifies DI, from fundamental approaches to choosing the right solution. Perfect for intermediate to advanced Swift developers looking to enhance app structure and scalability. Read more.

Exploring Actors and Protocol Extensions - Can Swift Keep Its Compile-Safe Thread Management Promise?

Discover the hidden complexities and surprising interactions between Actors and protocol extensions in Swift. This article peels back layers of assumed thread safety, trying to create race conditions using the Threads Torture Tests suite and discovering what breaks and what doesn't.

Comparing Swift Compiler Performance on Type Inference Part I: Strings, Numbers, Arrays, Dictionaries and Constructables

Optimizing Swift Compile Times: Best Practices Revealed: Dive into an exploration of Swift compiler performance, focusing on the best practices in variable initialization. This analysis offers practical tips for developers to enhance their Swift coding strategies.