All Projects → powerwolf543 → Swift-MVP-Sample

powerwolf543 / Swift-MVP-Sample

Licence: MIT license
It's an iOS simple project that how I implement MVP (Model-View-Presenter) and Clean Architecture in Swift.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Swift-MVP-Sample

Android Mvp Architecture
🏛 A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.
Stars: ✭ 203 (+651.85%)
Mutual labels:  mvp, clean-architecture, repository-pattern
GithubApp-android-architecture
Let's learn a deep look at the Android architecture
Stars: ✭ 16 (-40.74%)
Mutual labels:  mvp, clean-architecture, repository-pattern
Clean Architecture Android
Sample to practice Clean Architecture in android applications.
Stars: ✭ 207 (+666.67%)
Mutual labels:  mvp, clean-architecture, repository-pattern
Klean-ArchiteKture
Kotlin Android clean-architecture demo project for a meetup talk. Slides: https://docs.google.com/presentation/d/1CxnntHf3CorNDicx_cDN5s1t5pEbUwjwWHZ5PNmfe6Y/edit?usp=sharing
Stars: ✭ 10 (-62.96%)
Mutual labels:  mvp, clean-architecture
Eve
Eve and Wall-e
Stars: ✭ 133 (+392.59%)
Mutual labels:  mvp, clean-architecture
Android Clean Architecture Boilerplate
Apply clean architecture on Android
Stars: ✭ 141 (+422.22%)
Mutual labels:  mvp, clean-architecture
Ios Architectures
Sample app for iOS architectures
Stars: ✭ 90 (+233.33%)
Mutual labels:  mvp, clean-architecture
Movieguide Kotlin
Movie discovery app showcasing Kotlin, RxJava, Dagger2, MVP using Clean Architecture
Stars: ✭ 222 (+722.22%)
Mutual labels:  mvp, clean-architecture
Movieguide
Movie discovery app showcasing MVP, RxJava, Dagger 2 and Clean Architecture
Stars: ✭ 2,573 (+9429.63%)
Mutual labels:  mvp, clean-architecture
Eva
Eva and Wall-e
Stars: ✭ 131 (+385.19%)
Mutual labels:  mvp, clean-architecture
Starwars-clean
Simple project with clean architecture
Stars: ✭ 34 (+25.93%)
Mutual labels:  mvp, clean-architecture
wikilight
A lightweight Wikipedia Client
Stars: ✭ 50 (+85.19%)
Mutual labels:  mvp, repository-pattern
Rxviper
Android micro framework for developing apps based on clean VIPER architecture.
Stars: ✭ 112 (+314.81%)
Mutual labels:  mvp, clean-architecture
Android Kotlin Mvp Clean Architecture
Clean architecture blueprint using Kotlin and MVP pattern.
Stars: ✭ 105 (+288.89%)
Mutual labels:  mvp, clean-architecture
Kotlinmvparchitecture
Clean MVP Architecture with Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Added Unit Tests(Kotlin Tests)!
Stars: ✭ 143 (+429.63%)
Mutual labels:  mvp, clean-architecture
Kotlinrxmvparchitecture
Clean MVP Architecture with RxJava + Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Includes Unit Tests(Kotlin Tests)!
Stars: ✭ 94 (+248.15%)
Mutual labels:  mvp, clean-architecture
clean-architecture-azure-cosmos-db
A starting point to build a web API to work with Azure Cosmos DB using .NET 5 and Azure Cosmos DB .NET SDK V3, based on Clean Architecture and repository design pattern. Partition key is also implemented through the repository pattern.
Stars: ✭ 277 (+925.93%)
Mutual labels:  clean-architecture, repository-pattern
Android Base
Android Clean Architecture MVP RESTful client template app
Stars: ✭ 87 (+222.22%)
Mutual labels:  mvp, clean-architecture
Architecturesamplewithfirebase
これは、iOSアプリを色々なアーキテクチャで実装してみたものです。
Stars: ✭ 89 (+229.63%)
Mutual labels:  mvp, clean-architecture
Android-Starter-Kit
This is up-to-date android studio project for native android application, that is using modern tools and libraries.
Stars: ✭ 16 (-40.74%)
Mutual labels:  mvp, clean-architecture

swift

Swift-MVP-Sample

It's an iOS simple project that how I implement MVP (Model-View-Presenter) and Clean Architecture in Swift.

Requirements

  • Xcode 10.2+
  • Swift 5.0+

Architecture

View Layer (MVP)

  • View - Displays information from the Presenter and sends user interactions back to the Presenter.
  • Presenter - Contains the presentation logic and tells the View what to present
  • ViewBuilder - The Builder’s responsibility is to instantiate a specific View and injects the dependency for all components.
  • Router - Handles navigation logic for which screen should appear and when.

Domain Layer

  • UseCase - Contains the business logic for a specific use case in the project. They are view agnostic and can be consumed by one or many Presenters.
  • Model - Simple data model objects.

Data Layer

  • Repository - Query objects from different data sources (Core Data, Realm, web server, etc.) with a only single-entry point.

References

Author

Nixon Shih, [email protected]

License

Swift-MVP-Sample is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].