66

GitHub - jdisho/Papr: An Unsplash app for iOS.

 6 years ago
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

Build Status

Papr is an unofficial Unsplash app for iOS.

login.png home.png photo_details.png

?‍♂️ Getting Started

  1. Clone the repository.
  2. 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:

  1. In Xcode, go to Product> Scheme > Manage Schemes...
  2. Select Papr and click Edit...
  3. Go to Run > Arguments
  4. Add your Client ID (UNSPLASH_CLIENT_ID as key) and Client Secret (UNSPLASH_CLIENT_SECRET) to the Environment Variables.

? Why am I building this?

  1. Pushing RxSwift to its limits. ?
  2. MVVM + Coordinator
  3. Using Codable
  4. Using TinyNetworking (lightweight network library)
  5. Exploring Unsplash and its API
  6. Using as little dependecies as possible.
  7. 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. ?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK