Skip to content

alamin39/Photo-Flickr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Photo-Flickr

Photo-Flickr application written in Swift. This project searches for images using Flickr API and displays in a list and provides endless scrolling. Also, pressing on a image will take you to details page. You can share, save and zoom in/out images. NetworkManager takes care of fetching data from Flickr service. The application uses MVVM architecture.

Technology:

Swift, MVVM, Cocoapods, Kingfisher, Xcode 14.3

Flickr API:

Images are retrieved by hitting the Flickr API.

Features:

  1. Home screen: shows a list of searched pictures based on keywords
  2. Details screen: shows a selected picture from results screens
  3. Searches persisted between launches
  4. Save picture in Photos
  5. Share picture
  6. Zoom in, zoom out
  7. Unit tests
  8. UI tests

Decisions

  • Used MVVM for better testability and separation of concern.
  • Used Kingfisher for caching images. So that i don't have to retrieve same images again.
  • Used Timer for debounce. So that it reduce repetitive network calls.
  • Used UserDefault for persisted between launches. As the app is simple that's why i choose UserDefault instead of CoreData.

Screens

About

A photo search application for iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published