Code along session, download the project here.
SwiftUI app key principles
Flexible
Familiar
Expansive
Precise
Takeaways
You can set a
.frame(minWidth:)view modifier to a sidebar to declare its minimum widthWhen you have visual elements to show:
if you don’t need complex sorting, use
Listif you need complex sorting and/or multiple columns, use
Tablewhen making a Table sortable, we need to pass a
sortOrderbinding
focusedSceneValue(_:_:)tells the system to expose the given value when the entire system is in focus
