Fetch the star wars planet data by using stat war api, list and show details using SwiftUI and Combine frameworks
Swift UI is using declarative syntax, there for any developer can easily understand the code base compare with previous frameworks (eg: UIKit). Also as a SSOT (Single source of truth) maintian framework swift UI help developer to maintain and ease enhace to the code parts.
Combine is apple thereself developed subscriber driven ractive(observable) framework. Good perfomance (The framework not depend on fundation type, rather at a lower level), Easily work with SwiftUI, easy read and maintain are benefit of the framework.
- The planet list fetch by using URLSession api and make service to handle async server calls.
- SwiftUI List listen publisher to via ObservableObject protocol.
- Models folder keep all the necessary models.
- Services folder keep all the necessary service implementations.
- Components folder keep all custom components.
Test passed : ✅
Thanks ✨👌✨ !