Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jotaemepereira/swift-mvvm-reactive-cocoa
A Model-View-ViewModel example with ReactiveCocoa 7.0 and Swift 4.1
https://github.com/jotaemepereira/swift-mvvm-reactive-cocoa
alamofire github-api mvvm mvvm-architecture objectmapper reactive-cocoa swift
Last synced: 5 days ago
JSON representation
A Model-View-ViewModel example with ReactiveCocoa 7.0 and Swift 4.1
- Host: GitHub
- URL: https://github.com/jotaemepereira/swift-mvvm-reactive-cocoa
- Owner: jotaemepereira
- Created: 2018-07-19T15:20:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-19T15:21:54.000Z (over 6 years ago)
- Last Synced: 2024-11-22T11:52:06.654Z (2 months ago)
- Topics: alamofire, github-api, mvvm, mvvm-architecture, objectmapper, reactive-cocoa, swift
- Language: Swift
- Size: 44.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swift MVVM Example
A simple iOS app in Swift that shows a list of trending repositories on Github and a detail of each one when clicked.
The selected architecture for the project was MVVM (Model-View-ViewModel)## Libraries
- ReactiveCocoa 7.0
- Alamofire 4.7
- ObjectMapper 3.1
- Down (to show markdown text)
- Kingfisher (to load images)## Tests
### Unit tests
Added unit tests for both RepoDetailViewModel and RepoDetailViewModel.
## Taken decisions
- The search is done on the already searched items. It does not perform a new search within the API
- The trending topic search query is 'ios', so it will show the trending repositories on iOS## Improvements
- Add UI tests