How to build a Casino Slot Machine Watch App with Swift page 2


iOS App Development Tutorial Section

This is page two of Create your own Slot Machine Watch App with Swift.

iOS Programming Tutorial: Create your own Slot Machine Watch App with Swift page 2

9. Trigger code action via User Interface Touch event

Apple Watch Casino app Interface Touch event
Communication between UI & code: Creating the action within the code that will get triggered when the user presses the Spin button
Download asset file

10. Spin Action main logic

Apple Watch Casino Slot Spin Action logic
Main Code Logic: Programming the logic of the spin action
Download asset file

11. Programming Prepare Next Spin Function

Apple Watch Casino Slot Next Spin Function
Main Code Logic: Programming Logic to Prepare for the next spin
Download asset file

12. Addendum: Prepare Spin

Apple Watch Casino Slot Machine Prepare Spin
Main Code Logic: Adding the piece of code that will refresh the score label once a token has been subtracted from the total score

13. Programming the update method - part 1

Apple Watch Casino Slot Machine update method
Code Logic Update Method: First part of programming the Update method that refreshes the display of images
Download asset file

14. Programming the update method - part 2

Apple Watch Casino Slot Machine display images
Code Logic Update Method: Second part of programming the Update method that refreshes the display of images

15. Rotating slot machine images - part 1

Apple Watch Casino Slot Machine rotate images
Rotating Slots: Coding the method that rotates the images of the apple watch app casino slot machine, part 1

16. Rotating slot machine images - part 2

Apple Watch Casino Slot Machine image rotation
Code Logic Update Method: Coding the method that rotates the images of the slot machine, part 2
Download asset file