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.
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.
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
Designing the slot machine look in the interface builder part of xcode.
Testing the slot machine app in the Apple Watch simulator.
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
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
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)
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.
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.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.