Skip to content

A SwiftUI application for restaurant search based on user location and search functionality using Zomato API.

Notifications You must be signed in to change notification settings

iHirenDev/FoodMates

Repository files navigation

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

About

A SwiftUI application for restaurant search based on user location and search functionality using Zomato API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages