acevif / RxGithub

An example of MVVM using RxSwift and Swinject (DI)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example of MVVM using RxSwift and Swinject (DI)


Languages

Language:Swift 98.0%Language:Ruby 2.0%