RxGithub

An example of MVVM using RxSwift and Swinject (DI)

114
19
Swift

RxGithub

This is an example project to demonstrate dependency injection and Swinject in MVVM (Model-View-ViewModel) architecture with RxSwift.

Requirements

  • Xcode 8.0 or later
  • GitHub personal access token

Setup

  1. Download the source code or clone the repository.
  2. Get a free personal access token from GitHub.
  3. 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 Foundation

enum Keys {
    static let GitHubAccessToken = "TOKEN"
}

Workshop sessions (Hebrew)

Part 1

Part 1