UIKit version of Yelp search app. I plan to build another version to learn SwiftUI.
This simple app, on launch, will query Yelp's business search API to search for ice cream shops near downtown Boston and display a list of the top 25 sorted by best match. Photos are fetched asynchronously as cells are scrolled into view and cached using URLCache.
Notes:
- The Yelp query will not actually work unless
YelpService.apiKeyis replaced with a valid API key - I have not built any error UI, so the screen will be white if you build without setting the API key
- I would still like to build cancellation into the image fetch in the future (if user scrolls so quickly a cell disappears before the image is fetched)
- This was my first time using
async/await, I think I did it correctly - In order to show the photos being fetched, I used Network Link Conditioner's LTE setting to record the video below.
