Apple Watch Design & Program a Slot Machine App

Hands on step-by-step guide on how to design a casino slot machine Apple Watch app and program it with Objective-c.
4.8 (4 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
509 students enrolled
Take This Course
  • Lectures 24
  • Length 2 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 11/2014 English

Course Description

Learn the fundamentals of Apple Watch Kit by creating a real Casino Slot Machine Watch app. You will learn how to design the user interface, and write the code logic that makes the application interact with the player.

This course is all about diving in and getting your hands dirty from the very top.

Throughtout this course you will be guided on a step by step journey and be transformed from a total beginner to an confident Watch app developer who has all the right tools to begin coding your own watch apps, whether personal or professional.

You don’t need any experience taking this course. Now if you already have some experience with iOS, then this course will be a great way to transition to the watch kit.

What are the requirements?

  • access to a mac OS computer
  • or access to a mac OS virtual machine
  • access to the internet to download free tools
  • basic knowledge of using a MAC is a plus
  • Having used an iPhone or iPad before

What am I going to get from this course?

  • Build a useful Apple Watch app from scratch, a casino sloth machine app, while learning the standard watchkit elements and programming patterns
  • Ability to design an Apple Watch user interface
  • Ability to connect the User Interface to the code
  • Ability to create simple and advanced code logic
  • Ability to use the Apple Watch simulator
  • Ability to animate an Apple Watch app
  • Knowledge and usage of the watchkit framework
  • Usage of the Objective-c language
  • Usage of XCode Interface Development Environment

Who is the target audience?

  • Anyone who wants to learn about the Apple Watch App Development
  • Students in Computer science
  • Students in Graphic Designs, and Fine Arts
  • App Reskinners
  • Mobile App Entrepreneurs
  • Software Developers
  • Side entrepreneurs, side business start

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Initial Setup

This is a demonstration of the functionality of the completed Slot machine Watch application


Download Xcode software, it’s a free programming, and it’s allowing you to make watch apps


We're creating the project in XCode, in order to build the design and get to program the code.


Adding resources such as images and sounds to an xcoede watch app project

Section 2: Slot Machine User Interface Design

Designing the slot machine look in the interface builder part of xcode.


Testing the slot machine app in the Apple Watch simulator.

Section 3: Connecting User Interface to code

In this lecture, we're connecting the images to the code


In this lecture, we're connecting the buttons and labels to the code


Connecting the user interface button to an action within the code

Section 4: Writing Initial Code Logic

We're programming the code to handle adding, subtracting and displaying the current number of coins the user has.


Here, we're writing the piece of code that will call the action to spin the slots


We're writing the code logic that drive the simulation of the slot rotation


In this lecture, we’re storing the name of each image items in a collection of type NSArray


Storing the names of the slot images within an array collection

Section 5: Manipulating images and buttons

Programming the logic that calls the image rotation action for each slot column


Core logic to switch images when slot machine is spinning (part 1)


Core logic to switch images when slot machine is spinning (part 2)

Section 6: Programming Score and Winning Proceeds

Writing the program logic to stop the slots from spinning.

Note: You can download the xcode project file at this step of the process.


Creating nsarray collections that store the values for each type of winning


Writing code logic when the user wins 3 items in a row


Writing code logic when the user wins 2 items in a row


Writing code logic to display the win text within the Spin UIBUTTON.

Section 7: Taking the app functionality to the next level

Learn how to change the color of a UIButton through code.


Making the winning row blink using an NSTimer.

Note: Make sure to download the completed project within this section.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Yohann Taieb, Apps Games Unity iOS Android Apple Watch TV Development

Yohann holds a Bachelor of Science Degree in Computer Science from FIU University. He has been a College instructor for over 7 years, teaching iPhone Development, iOS 10, Apple Watch development, Swift 3, Unity 3D, Pixel Art, Photoshop for programmers, and Android. Yohann also has plenty of ideas which naturally turned him into an entrepreneur, where he owns over 100 mobile apps and games in both the Apple app store and the Android store.

Yohann is one of the leading experts in mobile game programming, app flipping and reskinning. His teaching style is unique, hands on and very detailed. Yohann has enabled more than 20000 students to publish their own apps and reach the top spots in iTunes App Stores, which has been picked up by blogs and medias like WIRED magazine, Yahoo News, and Forbes Online. Thanks to him, thousands of students now make a living using iOS 9, Swift 2, Objective C ( ObjC ), Android, Apple Watch ( watchOS ), Apple TV ( TVOS ), Unity 3D, and Pixel art animation

Ready to start learning?
Take This Course