sergdort / CleanArchitectureRxSwift

Example of Clean Architecture of iOS app using RxSwift
MIT License
3.88k stars 494 forks source link

OfflineFirst principle using CleanArchitectureRxSwift #45

Closed neutrum closed 5 years ago

neutrum commented 6 years ago

It's more of a question then Issue. But how would you implement OfflineFirst principle and keep for example both platforms intact and still let them be modular (networking, realm i.e). I suppose I should create another platform or layer below the domain and in the UseCase I could use both the NetworkingPlatform and RealmPlatform and just merge the results. Or is there some other way how to do it?

sergdort commented 6 years ago

Hi @neutrum! Please see https://github.com/sergdort/CleanArchitectureRxSwift/issues/30 for more details