This is an example project to demonstrate dependency injection and Swinject in MVVM (Model-View-ViewModel) architecture with RxSwift.
- Xcode 8.0 or later
- GitHub personal access token
- Download the source code or clone the repository.
- Get a free personal access token from GitHub.
- Create a swift file named
Keys.swift
with the following content inRxGithub
folder in the project. The string"TOKEN"
should be replaced with your own personal access token.
Keys.swift
import Foundation
enum Keys {
static let GitHubAccessToken = "TOKEN"
}