Book Image

Build an iOS 16 Coffee Shop Application Using SwiftUI and Firebase [Video]

By : David Kababyan
Book Image

Build an iOS 16 Coffee Shop Application Using SwiftUI and Firebase [Video]

By: David Kababyan

Overview of this book

In this course, we will build a real online coffee shop ordering application using SwiftUI. You will learn how to build an application from scratch using iOS, SwiftUI, and XCode. The course explains how to write clean and readable code and structure our app development to be able to reuse the code for a long time. As part of the course, we will cover concepts such as setting up the TabView, creating a model and dummy drinks, creating a HomeView model and Firebase repository, creating a Drinks row, Async image, the drinks detailed view, and a basket view model. We will create different views to include the basket view, empty basket view, and account view. You will learn to secure storage and save users to a keychain. We will advance to create a Firebase app, save the menu to Firebase, and set up a Firebase repository, create orders, and more. Upon completion of the course, you will independently be able to build your very own coffee shop application that can choose items, place orders, pay, and save users to storage using Xcode, SwiftUI, and Firebase.
Table of Contents (1 chapters)
Chapter 1
Building the App
Content Locked
Section 9
Drinks Detailed View
In this video, we will create a detailed view for each drink in our coffee shop app. We will create a DrinkDetail view that will display additional information about a selected drink. We will add a navigation link from each drink in the menu tab to its respective detailed view. We will also add a button to the DrinkDetail view that enables the user to add the drink to their cart and update the HomeView accordingly.