Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pratik-123/githubapi

GitHubAPI sample project using GitHub API to fetch users, followers data and store in CoreData as local storage with Codable protocol using MVVM architecture pattern without storyboard and XIB's (pure code).
https://github.com/pratik-123/githubapi

alamofire api codable codable-xcode-extension coredata ios ipad iphone mvvm mvvm-architecture relationship sdwebimage snapkit swift unique unittest universal xcode

Last synced: 1 day ago
JSON representation

GitHubAPI sample project using GitHub API to fetch users, followers data and store in CoreData as local storage with Codable protocol using MVVM architecture pattern without storyboard and XIB's (pure code).

Awesome Lists containing this project

README

        

# GitHubAPI

GitHub API sample project written in Swift using MMVM architecture pattern without Storyboard and Xib's.

- MVVM architecture
- Unittest
- Asynchronously data fetch
- CoreData use for local storage
- Relationship manage in CoreData
- Unique constraints manage in CoreData
- Codable protocol use for read and store data with CoreData
- Pure code
- Universal interface support (iPhone & iPad)

# Following pods are use
- SnapKit is use for layout management
- Alamofire is use for network communications,
- SDWebImage use for cache image

# GitHub API
- User List/ Search: https://api.github.com/search/users?q=&page=1
- User details: https://api.github.com/users/
- Followers List: https://api.github.com/users//followers

# Usage

To run the GitHubAPI example project, clone the repo, and run pod install from the GitHubAPI Example directory and then open GitHubAPI.xcworkspace into Xcode.

![alt tag](https://github.com/pratik-123/GitHubAPI/blob/master/ScreenShot.png)