A SwiftUI application for restaurant search based on user location and search functionality using Zomato API implementing MVVM design pattern and Combine framework. Get your Zomato API key from here.
2. Asynchronous image loading from URL thanks to Vadim Bulavin's tutorial.
3. User's current location fetch in background using Combine thanks to this stackoverflow answer.
$city
.dropFirst(1)
.debounce(for: .seconds(0.5), scheduler: schedular)
.sink(receiveValue: locationSearch(city:))