Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.51 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.51 KB

MyGallery

Gallery App Using API from Art Institute of Chicago API. There are 4 main feature on gallery screen.

  • Fetch artwork collection
  • Pagination fetching
  • Refreshable collection
  • Search artwork

Challenge

Populating data on artwork gallery screen should displayed the image using formatted url that compoosed by following step

  • Retrieve one or more artworks with image_id fields through API Request
  • Find the base IIIF Image API endpoint in the config.iiif_url
  • Append the image_id of the artwork as a segment to this URL
  • Append /full/843,/0/default.jpg to the URL

Those steps would be executed for each item asynchrounously, so that user interaction work as usual smoothly.

How to Run Program

Simply clone this repo and open MyGallery.xcodeproj

  • Install XCode 15
  • Choose Device Targe
  • Click Run

Code Coverage

Code has covered by unit test with percentage about 73%

code_coverage

Leak Profilling

leak_profilling

Result

Positive Search Negative Search Populated
poopulated poopulated poopulated