Demonstration of Factory to power an iOS app's user facing UI, Previews, and Unit Tests.
MVVM with Repository Pattern. Factory is used to provide the germane implementation of DIFactoryDataRepository per functional requirement to power DefaultContentViewModel.
- ContentView
- ContentViewModel
- DefaultContentViewModel
- DIFactoryDataRepository
- DefaultDIFactoryDataRepository
- PreviewDIFactoryDataRepository
- TestDIFactoryDataRepository
- DIFactoryTests