/Picsum

Primary LanguageSwift

Picsum

Picsum is a simple and elegant iOS application that makes use of the public API provided by Lorem Picsum (https://picsum.photos/). The main page features an endlessly refreshing collection of images presented in a UICollectionView. Within the image page, users can switch between normal, blur, and grayscale image modes using a UISegmentedControl. The blur image mode includes a slider for adjusting the blur ratio. The app exclusively utilises blur images sourced directly from the API.

TECHNOLOGIES

  • 🎨 UIKit
  • 📸 Lorem Picsum API
  • 🏛️ MVVM

OPTIMISATIONS

  • Optimized image download URLs by decreasing width and height parameters to enhance application performance and reduce latency caused by large image sizes.
  • Implemented asynchronous image loading tasks to ensure the application remains responsive, allowing tasks to be performed on separate queues without blocking the main queue.
  • Improved efficiency in PictureView by locally saving filtered pictures only once during viewDidLoad, eliminating the need for repetitive requests when the user interacts with the segment control.


Group 3