Rob Amos - Dependency Injection with a Service Locator pattern
Rob Amos explores dependency injection in Swift, contrasting traditional constructor injection with the service locator pattern and its limitations. He walks through his open-source library 'Depends', demonstrating the DependencyRegistry, DependencyKey, and a custom @AppDependency property wrapper inspired by SwiftUI's @Environment. The talk covers practical testing benefits with mock dependencies, trade-offs around runtime versus compile-time safety, and advanced patterns including hierarchical registries for multi-scene macOS apps. From Melbourne CocoaHeads No. 152 • Melbourne CocoaHeads No. 152 Chapters: 0:00 Intro 1:21 Traditional DI Problems 4:57 Service Locator Concept 8:03 Introducing Depends 16:52 Property Wrapper Internals 23:44 Testing with Mocks 27:07 Benefits and Trade-offs 34:43 Hierarchical Registries 37:45 Outro --- Melbourne CocoaHeads — a community of iOS & macOS developers in Melbourne, Australia. https://www.melbournecocoaheads.com/

Rob Amos - Designing ANZ Plus: a real-time, offline-first iOS App

Jake Lin - Async-ify an App

Luke Tupper - Perfecting your PRs

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Jarrod Robins - This Year At WWDC

Marko Justinek - Consumer Driven Contract Testing using PactSwift

Co-Creator of Haskell: Why Learn Functional Programming, Useless vs Useful Languages | Simon Jones

Nabila Herzegovia - TMTW Feb 2021

Luke Tupper - Supercharging multi platform development

Rural Countryside Field Path Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames

How Java Works (Explained Simply)

Samsung's 990 Pro SSD warranty policy is a scam; I'm taking them to court.

Gio Lodi - Test-Driven Development in Swift – A practical introduction

I am done with Golang

Mike Monaghan - My App Turned 10!

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Why AI Agents are either the best or worst thing we’ve ever built

10 Images | Coastal Citrus Floral Summer Paintings Screensaver l Frame TV ART |

I Gave ChatGPT a Body

