Slot Machine Game Your First macOS App with SwiftUI and Mac Catalyst

Slot Machine Game Your First macOS App with SwiftUI and Mac Catalyst - student project

In this class, we’re going to build a Slot Machine game, an outstanding iOS, iPadOS and even a macOS app with SwiftUI and Apple's Mac Catalyst Framework.

 

  • Illustrator and Game Designer: Robert Petras
  • Game Developer: Robert Petras

Slot Machine Game Your First macOS App with SwiftUI and Mac Catalyst - image 1 - student project

In the middle part of this class, we will develop the main game logic with Swift. Then we will learn how to save and read the High Score using the User Defaults. We can use User Defaults to store any basic data type for as long as the app is installed. You will see how easy is to use it with SwiftUI.

Slot Machine Game Your First macOS App with SwiftUI and Mac Catalyst - image 2 - student project

In the last part of this class, we will learn how to bring an iPad app to Mac by using Apple’s Catalyst technology. With Mac Catalyst, our Slot Machine iPad app shares the same project and source code therefore we can efficiently convert this mobile app to desktop.

Slot Machine Game Your First macOS App with SwiftUI and Mac Catalyst - image 3 - student project

The more app you build the more confidence you gain in your developer journey. I hope that you enjoyed this course so far and I can tell you that more is coming!

Just one thing. I would appreciate it so much if you could take the time to share your learning experience with other students by writing a review for this class.

Slot Machine Game Your First macOS App with SwiftUI and Mac Catalyst - image 4 - student project

I would be glad to read your success stories too.

Until then, happy coding!

Robert Petras - UI/UX Designer and iOS SwiftUI Developer

Robert Petras
UI Design & App Development with SwiftUI
Teacher