Closed russhwolf closed 4 years ago
Rebased and updated. Android is now doing the same thing as iOS. I'm still ambivalent about whether the ceremony to configure Koin from Swift is worthwhile, but either way it's an interesting demo.
I think we're starting to use a lot of force unwraps on the Swift side. If the number of unknown states - where the app can't really function because something necessary is missing - is growing, then I think we should discuss creating a task/issue for more comprehensive error handling.
I think the force-unwraps introduced here all make sense, but open to further discussion. Maybe it's something we should add some doc notes on to clarify best practices, particularly around ways that Swift/iOS norms might differ from Kotlin/Android ones.
Had Koin on my mind tonight so I thought I'd give this a spin.