Day 46 - SwiftUI Navigation: Project 9 Challange

In this section, we will do challanges related to SwiftUI navigation.

Control & Automation Engineer1 min read

In this episode we are on day 46 of our SwiftUI in 100 Days journey and we have 3 SwiftUI Navigation related challanges to tackle.

  1. Change Project 7 (iExpense) to use NavigationLink instead of a sheet to add new expenses. (Hint: dismiss() code works great here, but you might want to add the navigationBarBackButton() modifier so that they have to explicitly select Cancel).
  2. Try modifying Project 7 to allow users to edit the issue names in the navigation title instead of in the separate text field.

Source — Solution for items 1 and 2 : GitHub - GorkemGuray/iExpense: 100 Days of SwiftUI - Project-7_Day45_Challange

  1. Return to Project 8 (Moonshot) and upgrade to use NavigationLink(value:). This means adding Hashable compatibility and thinking carefully about how to use the navigationDestination() method.

Source — Solution for item 3 : GitHub - GorkemGuray/Moonshot: 100 Days of SwiftUI - Project-8_Day46_Challange


You can also read this article in Turkish.
Bu yazıyı Türkçe olarak da okuyabilirsiniz.

Note — This article contains the notes I took for myself from the articles found at SwiftUI Day 46. Please use the link to follow the original lesson.