Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.56 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.56 KB

iOSDesignPatternSamples (MVC)

This is Github user search demo app that made with MVC design pattern.

Application Structure

ViewControllers

How to add / remove favorites

You can add / remove favorite repositories in RepositoryViewController, but an Array of favorite repository is hold by FavoriteViewController.

Run

You need to set Github Personal Access Token like this.

extension ApiSession {
    static let shared: ApiSession = {
        let token = "" // <- Your Github Personal Access Token
        return ApiSession(injectToken: { InjectableToken(token: token) })
    }()
}

Requirements

  • Xcode 12 or later
  • iOS 13 or later
  • Swift 5 or later

Special Thanks

Author

marty-suzuki, s1180183@gmail.com

License

iOSDesignPatternSamples is available under the MIT license. See the LICENSE file for more info.