Michael Long
Jan 19, 2025

--

Depends on the definition of eventually. One could well run an app without using most of the features or the specific services that support them.

The easiest way is just to create everything up front and stuff them into globals.... but that has a lot of downsides as well.

Ensuring a happy medium that allows for testing, mocking, and previews while preserving performance and code conciseness isn't always easy.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

Responses (1)