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
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
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.
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 50000 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