Skip to content

Gallery App Using API from Art Institute of Chicago API

Notifications You must be signed in to change notification settings

akipmaulana/MyGallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Gallery App Using API from Art Institute of Chicago API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages