This is a sample iOS project about displaying git user list, profile, ... available for offline mode.
git-hub-users
requires iOS 15.0
or later. If you are developer, you can set its deployment target
to lower iOS version if needed.
This project is simple GitHub user note management. Fetch user from GitHub then save at local storage then allow end-user to add note for each GitHub user.
This project is created following MVVM
pattern.
And my customerized UI tree/UI holder
or like a NavigationCenter
CoreData
is used for manage local storage logicURLSessionTask
is used for networkingImageCaching
orImageDownloader
is constructed by using bothCoreData
andURLSessionTask
It requires XCode 13.0 or later
to run directly from source code. XCode 13 requires macOS 11.3+
If your XCode 13.0
is not available, you can change deployment target
to lower iOS version.
I let an error in code of file ApiRequest.swift
, at line 56. Please create a Personal Access Token
(PAT) of your GitHub account to use GitHub user's api.
We can use this api as guest but it will be limited. Check this link for how to make a PAT.
If you have anything to upgrade this project, feel free to contact me via email: quytm2239@gmail.com
or skype: tranquy239
.
Thank you!