Build a trivia game app from scratch with this SwiftUI crash course

DesignCode on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerUI61 min

About this video

A step-by-step SwiftUI tutorial that starts from a Hello World screen and builds a trivia game app that pulls questions from the OpenTrivia API. It covers the welcome screen, question views, a trivia model and a manager that drives the game.

What you’ll learn

  • Build a SwiftUI welcome screen and question view
  • Fetch trivia questions from the OpenTrivia API
  • Connect a trivia manager to the UI and reset game state