An open API service indexing awesome lists of open source software.

https://github.com/shrtlist/flickrchallenge

SwiftUI app that allows a user to search Flickr for images.
https://github.com/shrtlist/flickrchallenge

async-await asyncimage combine mvvm structured-concurrency swiftui

Last synced: 12 months ago
JSON representation

SwiftUI app that allows a user to search Flickr for images.

Awesome Lists containing this project

README

          

Coding challenge for an iPhone application that allows a user to search Flickr for images.

Create the UI with a search bar at the top and a grid below it to display thumbnail images.
The user should be able to enter text into the search bar and see a grid of images whose tags match
the search string.
The search string can be a single word (such as “porcupine”) or comma-separated
words (such as “forest, bird”).

Fetch the list of images using this API from Flickr:

https://api.flickr.com/services/feeds/photos_public.gne?format=json&nojsoncallback=1&tags=porcupine

You’ll replace “porcupine” in that URL with the search word(s) typed by the user.
This is a free public feed. No API key is required. You can learn more about this API here: The App
Garden

Acceptance Criteria
- The search results should come from the API listed above (replace the word “porcupine”
with the one typed by the user).
- The search results should be updated after each keystroke or change to the search string.
- When performing the search, show a progress indicator without blocking the UI.
- Tapping on an image should display an image detail view that contains the following details:
- The image
- Text element that displays the title
- Text element that displays the description
- Text element that displays the author
- Text element that displays a formatted version of the published date
- Add at least one unit test that covers some portion of your code.