Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.18 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.18 KB

FoodMates

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.

Features

1. Networking implementation using Combine framework.
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.
4. Combine's dropFirst and debounce feature for search functionality.
    $city
        .dropFirst(1)
        .debounce(for: .seconds(0.5), scheduler: schedular)
        .sink(receiveValue: locationSearch(city:))
5. MapView implementation in SwiftUI using UIViewRepresentable

Demo

Screenshots

screenshot1

screenshot2

demo

Note: All image resources used from FlatIcon and Unsplash