Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
SwiftUI QuizApp with MVVM
Rating: 4.4 out of 5(9 ratings)
1,157 students

SwiftUI QuizApp with MVVM

Learn how SwiftUI works with MVVM by making a beautiful QuizApp
Created byRicha HarSivo
Last updated 5/2025
English
English [Auto],

What you'll learn

  • Learn how to create SwiftUI Quiz Game with SwiftUI
  • Learn how to implement MVVM with SwiftUI
  • Learn the concept of @State, @ObservableObject, @Published & @ObservedObject
  • Learn SwiftUI basics like VStack, HStack and ZStack
  • Learn how to use LazyVGrid
  • Learn how to create Timer in SwiftUI

Course content

3 sections14 lectures51m total length
  • Introduction0:40

    Build an animal knowledge quiz app in SwiftUI, presenting questions with options, signaling correct or wrong answers, advancing to the next question, and ending with a green check.

  • App Demo0:38

    Watch a demo of the quiz app with a timer, animal questions, a result screen, and feedback for correct and incorrect answers with replay options.

  • Base Project0:01
  • Base Project Description2:36

    Develop a SwiftUI quiz app using MVVM by modeling questions, answers, and option lists, enabling selectable options and correct-answer matching, with a view model coordinating state across views.

  • Basics of SwiftUI3:44

    Master the basics of SwiftUI by building an immutable view hierarchy with ZStack and VStack, layering a background image, gradient, title, question, timer, and grid, with live previews.

Requirements

  • You should have basic Swift programming language knowledge

Description

Want to learn how to build a SwiftUI QuizApp with MVVM?


Then you are in the right place.


SwiftUI is a UI framework by Apple for building beautiful and fast native apps. SwiftUI helps you build great-looking apps across all Apple platforms with the power of Swift — and as little code as possible. Apple introduced SwiftUI in 2019 and the framework has been evolving at a rapid pace ever since.


Since the introduction of SwiftUI, the MVVM pattern has seen a new renaissance. Many developers believe that this particular pattern fits well with the SwiftUI data flow. We are going to learn how to implement the powerful MVVM design pattern in SwiftUI applications that are leveraging the Combine framework. The combination of these 3 concepts will be the standard of iOS app architecture for the years to come, so it’s really important to set up a solid groundwork when it comes to designing Swift apps going forward


In this course you will learn SwiftUI with MVVM. We will learn how to create a beautiful and intuitive Quiz App. And through the process we will learn how MVVM design pattern works with SwiftUI. We will learn base concepts of SwiftUI Combine.


Course Overview -

  • Create SwiftUI Quiz Game with SwiftUI + Combine

  • Implement MVVM with SwiftUI using Combine

  • Concept of @State, @ObservableObject, @Published & @ObservedObject

  • SwiftUI basics like VStack, HStack and ZStack

  • LazyVGrid

  • Create Timer in SwiftUI


Who this course is for:

  • iOS Mobile app developer, Swift and SwiftUI developers