GH Profile is a usage demonstration of GitHub Graph QL API written in Swift.
- Display main user information. Such as profile picture, name, login, email, followers count, following count.
- Top 3 pinned repositories
- Top 10 user repositories
- Top 10 starred repositories
- Developed using MVP(Model-View-Presenter) architecture
- No storyboards used
- No third-party libraries used
- Cache data for 1 day and pull to force a refresh
- iOS 11.0+
- Xcode 12+
- Swift 5+
Just check out the project, open using Xcode, and hit the "build and run" button. That's it!. Just make sure you replaces the API key to a valid key before attempting to run.
Please refer Constants.swift file for common configurations, Including GitHub profile to load and API key for GitHub Graph QL.
Please refer below instructions to generate your own API key.