Skip to content

Demo of a photo feed with flexible architecture and two separate UI implementation (UIKit and SwiftUI)

License

Notifications You must be signed in to change notification settings

surakamy/PhotoFeedDemo

Repository files navigation

PhotoFeedDemo

The general architecture of the app is shown on the diagram and it consists of Network layer, Presentation layer and two concrete UI implementations (UIKit or SwiftUI).

App layers

  • UseCase is assembled in Factories which integrate Network layer and concrete UI implementation with help of Composers.
  • UseCases follow View -> Interactor -> Presenter unidirectional flow.
  • Each screen (View or UIViewController) is separated from others and for navigation are used closures.

An example of how structured and behaves UseCase UseCase Example

Credits

API for the feed provided by picsum.photos

About

Demo of a photo feed with flexible architecture and two separate UI implementation (UIKit and SwiftUI)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages