All SwiftUI quizzes
Intermediate30 questions60 minutes

SwiftUI Intermediate Quiz

Explore navigation, lists, forms, animations, gestures, and data flow

Start the quiz

Sample questions from this quiz

A preview of the style and depth. Try each one, then reveal the answer — or skip straight to the timed quiz.

1. What is List?

  • Row container
  • Scrolling list
  • Table view
  • Scrollable collection of rows
Show answer

Answer: Scrollable collection of rows. List displays rows: List { ForEach(items) { item in Text(item.name) } }. Automatic scrolling. Built-in styles. Swipe actions. Essential collection view.

2. What is ForEach?

  • Iterator
  • Loop view
  • Iterates over collection creating views
  • Collection mapper
Show answer

Answer: Iterates over collection creating views. ForEach creates views from data: ForEach(items) { item in Text(item.name) }. Requires Identifiable or id parameter. Dynamic views. Performance optimized.

3. What is NavigationView?

  • Route container
  • Screen stack
  • Navigation container
  • Container for navigation hierarchy
Show answer

Answer: Container for navigation hierarchy. NavigationView enables navigation: NavigationView { ContentView() }. Navigation bar. Push/pop views. Title, buttons. Stack-based navigation. iOS pattern.

Frequently asked questions

How many questions are in this SwiftUI quiz?+

30 questions, with a 60-minute time limit. Every question includes a written explanation of the correct answer.

Is this SwiftUI quiz free?+

Yes. Every quiz on CodexQuizz is free and needs no account. You only enter a name if you choose to post your score to the leaderboard.

What level is the intermediate quiz aimed at?+

Explore navigation, lists, forms, animations, gestures, and data flow

Can I use this to prepare for a SwiftUI interview?+

Yes. The questions cover the topics that come up in SwiftUI technical screens, and the explanations are written so that a wrong answer still teaches you the underlying concept.

Ready to test your SwiftUI?

30 questions, 60 minutes. Free, no sign-up.

Start now