DaianAiziatov / mobile-coding-challenge

Mobile coding challenge for prospective applicants

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run

It is neccessary to include APIKeys.plist file with valid API keys in order to make API-request. Or you can just past it in APIRequest.swift file.

Demo

demo

Mobile Developer Coding Challenge

This is a coding challenge for prospective mobile developer applicants applying through http://work.traderev.com/

Goal:

Build simple app that allows viewing and interacting with a grid of curated photos from Unsplash

  • Fork this repo. Keep it public until we have been able to review it.
  • Android: Java or Kotlin | iOS: Swift 4
  • Unsplash API docs are here: https://unsplash.com/documentation.
  • Grid of photos should preserve the aspect ratio of the photos it's displaying, meaning you shouldn't crop the image in any way.
  • App should work in both portrait and landscape orientations of the device.
  • Grid should support pagination, i.e. you can scroll on grid of photos infinitely.
  • When user taps on a photo on the grid it should show only the tapped photo in full screen with more information about the photo.
  • When user swipes on a photo in full screen, it should show the the next photo and preserve current photo's location on the grid, so when she dismisses the full screen, grid of photos should contain the last photo she saw in photo details.

Evaluation:

  • Solution compiles. If there are necessary steps required to get it to compile, those should be covered in README.md.
  • No crashes, bugs, compiler warnings
  • App operates as intended
  • Conforms to SOLID principles
  • Code is easily understood and communicative
  • Commit history is consistent, easy to follow and understand

About

Mobile coding challenge for prospective applicants


Languages

Language:Swift 100.0%