Random picture
Presentation
This a simple iOS application which display random picture from Unsplash
You can :
- Display picture on fullscreen
- Save picture at full size
- Get picture author
Screenshot
Technical presentation
This app was written in Swift 5.2.4.
This app was done on the VIPER architecture. VIPER is an architecture pattern based on Clean Architecture. The word VIPER is a backronym for View, Interactor, Presenter, Entity and Routing. This divides an app’s logical structure into distinct layers of responsibility.
SwiftLint was used to enforce Swift style and conventions.
How to Use
- Clone/Download the repo.
- Open Random picture.xcodeproj
- Install SwiftLint or remove it in Random picture -> Build Phases -> In targets on the left, click Random picture -> Run script -> at the right of this box, click on the cross.
- Choose the right target your iPhone/iPad (if you have a free/paid developper account) or iOS simulator. You can also build this application for macOS (Thanks to Catalyst).
- Build & run and have fun.