Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oronbz/RxGithub
An example of MVVM using RxSwift and Swinject (DI)
https://github.com/oronbz/RxGithub
dependency-injection firebase github-api ios mvvm rxswift swift swinject
Last synced: 3 months ago
JSON representation
An example of MVVM using RxSwift and Swinject (DI)
- Host: GitHub
- URL: https://github.com/oronbz/RxGithub
- Owner: oronbz
- Created: 2017-03-01T06:54:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-16T13:39:11.000Z (about 5 years ago)
- Last Synced: 2024-04-29T15:32:04.293Z (7 months ago)
- Topics: dependency-injection, firebase, github-api, ios, mvvm, rxswift, swift, swinject
- Language: Swift
- Size: 53.2 MB
- Stars: 120
- Watchers: 3
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rxswift - RxGithub
README
# RxGithub
This is an example project to demonstrate [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) and [Swinject](https://github.com/Swinject/Swinject) in [MVVM (Model-View-ViewModel)](https://en.wikipedia.org/wiki/Model_View_ViewModel) architecture with [RxSwift](https://github.com/ReactiveX/RxSwift).
## Requirements
- Xcode 8.0 or later
- [GitHub](https://github.com/settings/tokens) personal access token## Setup
1. Download the source code or clone the repository.
3. Get a free personal access token from [GitHub](https://github.com/settings/tokens).
4. Create a swift file named `Keys.swift` with the following content in `RxGithub` folder in the project. The string `"TOKEN"` should be replaced with your own personal access token.**Keys.swift**
```
import Foundationenum Keys {
static let GitHubAccessToken = "TOKEN"
}
```## Workshop sessions (Hebrew)
[![Part 1](http://img.youtube.com/vi/5zs8CXiBcA4/0.jpg)](http://www.youtube.com/watch?v=5zs8CXiBcA4)
[![Part 1](http://img.youtube.com/vi/9YH1sskeQhk/0.jpg)](http://www.youtube.com/watch?v=9YH1sskeQhk)