Skip to content

bleege/DIFactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DIFactory

Demonstration of Factory to power an iOS app's user facing UI, Previews, and Unit Tests.

Architecture

MVVM with Repository Pattern. Factory is used to provide the germane implementation of DIFactoryDataRepository per functional requirement to power DefaultContentViewModel.

View

  • ContentView
  • ContentViewModel
    • DefaultContentViewModel

Repository

  • DIFactoryDataRepository
    • DefaultDIFactoryDataRepository
    • PreviewDIFactoryDataRepository
    • TestDIFactoryDataRepository

Unit Tests

  • DIFactoryTests

About

Factory DI Example

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages