Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.42 KB

README.md

File metadata and controls

19 lines (16 loc) · 1.42 KB

LittleLemonReservation

My completed project for the course Create the User Interface with SwiftUI by Meta

I followed the following steps:

  • I created a view containing the Little Lemon restaurant logo.
  • I added this view to the LocationsView.
  • I added the LocationsView to the MainView.
  • I created a Text element that displays one of two strings, depending on the state of the variable.
  • Create a dynamic list of items that contains several restaurant locations.
  • Added a NavigationLink to the list to make each restaurant location clickable.
  • Create a validation code for a text box.
  • Made the booking button launch the form validation function when clicked.
  • And added an alert to the view that shows errors contained in the variable

Simulator Screenshot - iPhone 14 Pro - 2023-05-29 at 13 50 31 Simulator Screenshot - iPhone 14 Pro - 2023-05-29 at 13 50 38 Simulator Screenshot - iPhone 14 Pro - 2023-05-29 at 13 51 41 Simulator Screenshot - iPhone 14 Pro - 2023-05-29 at 13 51 50