GitHub - jdisho/Papr: An Unsplash app for iOS.
source link: https://github.com/jdisho/Papr
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
? Papr
Papr is an unofficial Unsplash app for iOS.
?♂️ Getting Started
- Clone the repository.
- Run
pod install
to install dependencies.
⚙️ Setup
To be able to log in during development, you'll need a Client ID and Client Secret.
To get these, register a new OAuth application on Unsplash.
Make sure the Authorization callback URL is set to papr://unsplash
. The others can be filled in as you wish.
To add the Client ID and Client Secret to the App, follow these steps:
- In Xcode, go to
Product
>Scheme
>Manage Schemes...
- Select
Papr
and clickEdit...
- Go to
Run
>Arguments
- Add your Client ID (
UNSPLASH_CLIENT_ID
as key) and Client Secret (UNSPLASH_CLIENT_SECRET
) to the Environment Variables.
? Why am I building this?
- Pushing
RxSwift
to its limits. ? - MVVM + Coordinator
- Using Codable
- Using TinyNetworking (lightweight network library)
- Exploring Unsplash and its API
- Using as little dependecies as possible.
- Fun thing! ?
❤️ Contributing
I intend for this project to be more as an educational resource, learn by open sourcing.
I am very open for feedback and contribution. ?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK