Skip to content

List all the images from PicSum.com using Collection View. Supports iPhone's portrait and iPad's portrait and landscape orientations. List down the pictures in lower resolution, when clicked on the image actual resolution image will be downloaded and shown.

Notifications You must be signed in to change notification settings

sathya26d94/Shots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shots

A Universal iOS App (supports both iPhone and iPad devices) that uses the PicSum Image APIS to showcase images from this service. The app has the following two screens:

  1. A screen that shows all the images as thumbnails arranged in a collection view.
  2. Tapping on a thumbnail in the collection view opens a screen that shows the image with full resolution. The following informations are overlaid on the image in its bottom part. a. ID b. Author c. Width in points d. Height in points
  • The UI is adapted to both iPhone and iPad devices.
  • The collection view keeps loading more content as the user keep scrolling down.

TODOS:

  1. Add unit test cases.
  2. Stop calling List api when all contents are fetched.
  3. Inside detai page, if swipes down, load the next image with its details with charming animation
  4. Add launch animation
  5. If user is offline, show alert
  6. add comments.
  7. Use Rxswift in details screen as well

API Ref:

  1. PicSum API details: https://picsum.photos/
  2. PicSum List API: https://picsum.photos/v2/list?page=2&limit=100
  3. PicSum Image Detail API: https://picsum.photos/id/237/200/300 --

About

List all the images from PicSum.com using Collection View. Supports iPhone's portrait and iPad's portrait and landscape orientations. List down the pictures in lower resolution, when clicked on the image actual resolution image will be downloaded and shown.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages