Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dscyrescotti/pixl
Unofficial client application for Unsplash using UIKit
https://github.com/dscyrescotti/pixl
example-app ios-app ios-swift rxswift swift swift-package-manager uikit unsplash unsplash-client xcode
Last synced: 25 days ago
JSON representation
Unofficial client application for Unsplash using UIKit
- Host: GitHub
- URL: https://github.com/dscyrescotti/pixl
- Owner: dscyrescotti
- License: mit
- Created: 2021-04-20T10:57:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-27T06:45:14.000Z (over 3 years ago)
- Last Synced: 2024-04-20T16:56:33.996Z (7 months ago)
- Topics: example-app, ios-app, ios-swift, rxswift, swift, swift-package-manager, uikit, unsplash, unsplash-client, xcode
- Language: Swift
- Homepage:
- Size: 18.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pixl
**pixl** is an iOS client app for **Unsplash** built using UIKit.
This app is developed on Xcode 12.5 and requires at least Swift version 5.4. To run the project in your machine, you need to download the project and open Pixl.xcodeproj. After opening the project, you need to add some environment variables and a url type.
First go to [Unsplash Developers](https://unsplash.com/developers) and apply for a new application to access Unsplash API. Make sure you add redirect uri (eg. `pixl-app://unsplash-authentication`) and mark all permissions. After finished creating applications, go back to Xcode project that you have already opened.
Then you need to add **Environment Variables** in your project scheme. Go select your project target from Xcode toolbar and select **Edit Scheme...**. Please select **Arguments** of **Run** and click "+" button in Environment Variables section to add variables. Add the values of ***access key***, ***secret key*** and ***redirect uri*** from unsplash application with the names - **ACCESS_KEY**, **SECRET_KEY** and **REDIRECT_URI** respectively.
The final thing is to add URL scheme in your project. Go to project target and select **Info** tab. In URL Types dropdown, click "+" button and add only the scheme of redirect uri (eg. `pixl-app`) that you provided in unsplash application. Then hit the run button and wait for your simulator.
Here are some snapshots of **pixl**.
| | | |
|--|--|--|
| | | |
| | | |# License
**pixl** is available under the MIT license. See the [LICENSE](https://github.com/dscyrescotti/Pixl/blob/main/LICENSE) file for more info.