Skip to content

Unofficial client application for Unsplash using UIKit

License

Notifications You must be signed in to change notification settings

dscyrescotti/pixl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.

Login View Photos View Collections View
Collection View Photo View User View
Browse View Search Results View Settings View

License

pixl is available under the MIT license. See the LICENSE file for more info.

Releases

No releases published

Packages

No packages published

Languages