Feb 22, 2024
I did not use native injection with env modifier, simply because it's not the part of the code that I am emphasizing, so I used init() just for quick presenter assignment (Update: If I use the env modifier, then I would need to attach more code snippet for this article, which makes it harder to be read).
For most projects, I use it though, like in the example below.
https://github.com/kevinjonathan30/feasthub/blob/master/FeastHub/App/ContentView.swift