/Random-picture

Display a random image in full screen of your iOS/macOS device, you can save image at full resolution into your Photos library.

Primary LanguageSwiftMIT LicenseMIT

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

App 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

  1. Clone/Download the repo.
  2. Open Random picture.xcodeproj
  3. 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.
  4. 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).
  5. Build & run and have fun.