Not only Swift

At the intersection of Apple platforms and agentic AI.

Read and trusted by engineers from:

Apple logoLeica Camera logoGoogle logoPayPal logoSAP logoIKEA logo
To: Subscribers of Not only Swift
Date: October 22, 2026
Issue: 107
Re: Swift Dependency Injection: The Singleton strikes back

Hi everyone!

Every new technology requires us to relearn how we think and work. At swiftCon 2026 in Berlin, Gio gave a talk titled “Just One More Prompt: Why Agentic Coding Hooks Us”. He cited research that was conducted with gamblers in Las Vegas, and made the point that using coding agents can hook us in a similar way - just one more prompt…

Felix Rieseberg takes a different viewpoint - he argues that AI allows us to elevate our work to levels previously unthinkable (quite literally), and suggests a couple of ways how you can integrate this into your own work.

As with any new technology, it will take time for all of us to learn how to use it responsibly and effectively.

At the same time, new hardware form factors such as the iPhone Duo can have unexpected implications on our app architecture - read Michael Long’s article about dependency injection to understand how the single most evil design pattern singletons can wreak havoc in your apps.

As always, hit reply to let me know what you’re thinking (or to suggest articles that other readers might find interesting).

Cheers,

Peter

Sponsor this newsletter: Reach 1,950+ Swift and Apple platform engineers with your product, project, or event. View available dates →

What I am working on

LimeLight

by Peter Friese

Swift

Swift Logging: Use OSLog Instead of print()

by Sagar Unagar

SwiftUI

Everything is Shared (And That's the Problem)

by Michael Long

Positioning SwiftUI views around the fold on iPhone Duo

by Natalia Panferova

Code

Apple App Attest in iOS Development

by Artem Mirzabekian

AI & Machine Learning

How to be more ambitious: A tutorial for humans with models

by Felix Rieseberg

Calming down Claude's code reviews

by Joe Fabisevich

Using JEV to help a human decide

by Alejandro Martinez

Business & Strategy

Apple Banning Feature Flags?

by Nick Dobos

Tools & Tips

Conferences

iOS Conferences in 2026

by Peter Friese