← iOS Development (Swift) learning pathiOS Development (Swift) · Module 7 of 10
Lists, navigation and forms
Show lists, navigate and collect input.
📖 Key ideas
- List(items) { item in Text(item.name) } shows rows.
- NavigationStack with NavigationLink pushes screens.
- Form groups inputs: TextField, Toggle, Picker, DatePicker.
- Sheets (.sheet) present modal views.
- TabView creates tabs.
💡 Real-life example: NavigationStack is a pile of pages: tap a link to add a page on top, swipe back to remove it.
ListScrollable rows
NavigationStackContainer for push navigation
FormGrouped input container
.sheetModal presentation