nalexn / clean-architecture-swiftui

SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
MIT License
5.57k stars 671 forks source link

Any update for SwiftUI 2.0? #40

Open pnghai opened 3 years ago

pnghai commented 3 years ago

Hi, I checked that iOS 14 has transitioned into new life cycle (https://github.com/apple/swift-evolution/blob/master/proposals/0281-main-attribute.md), do you intent to make any update for it?

nalexn commented 3 years ago

Hey @pnghai

For now, I'm thinking that support for iOS 13 overweights the benefits of migrating the app delegate. Its current revision is extremely minimal, with all the business logic extracted to other modules, so I don't see much value (in terms of reference for others) in reworking it with @main. If you don't mind I'd just post here a sample code of migrated delegate later