https://github.com/k-lpmg/ios-architecture-example
Architecture pattern simple examples in iOS. You can compare differences in MVC, MVP, MVVM-Delegate and MVVM-Rx for same feature
https://github.com/k-lpmg/ios-architecture-example
ios-architecture mvc mvp mvvm rxswift
Last synced: 19 days ago
JSON representation
Architecture pattern simple examples in iOS. You can compare differences in MVC, MVP, MVVM-Delegate and MVVM-Rx for same feature
- Host: GitHub
- URL: https://github.com/k-lpmg/ios-architecture-example
- Owner: k-lpmg
- License: mit
- Created: 2018-12-19T23:29:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-13T06:57:59.000Z (over 5 years ago)
- Last Synced: 2025-03-24T13:44:15.650Z (about 1 month ago)
- Topics: ios-architecture, mvc, mvp, mvvm, rxswift
- Language: Swift
- Homepage:
- Size: 55.7 KB
- Stars: 19
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iOS Architecture Example
[](https://travis-ci.org/k-lpmg/ios-architecture-example)



Github search API examples with the iOS architecture pattern.
## Architecture patterns
The applied patterns is as follows.
[MVC](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVC/Sources)
[MVP](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVP/Sources)
[MVVM with Delegate](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVVM-Delegate/Sources)
[MVVM with Rx](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVVM-Rx/Sources)
## Shared
The codes used together in the examples.
[Model](https://github.com/k-lpmg/ios-architecture-example/blob/master/Shared/Model/SearchRepositoriesModel.swift)
[View](https://github.com/k-lpmg/ios-architecture-example/blob/master/Shared/View/RepositoryTableViewCell.swift)
## Example
![]()
![]()
![]()
![]()
1. run pod install
```console
$ pod install
```2. open ios-architecture-example.xcworkspace
```console
$ open ios-architecture-example.xcworkspace
```3. run [MVC](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVC), [MVP](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVP), [MVVM-Delegate](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVVM-Delegate) or [MVVM-Rx](https://github.com/k-lpmg/ios-architecture-example/tree/master/MVVM-Rx)
## LICENSE
These works are available under the MIT license. See the [LICENSE][license] file
for more info.[license]: LICENSE