Summary
In this chapter, we focused primarily on how to develop a native iOS app using Visual Studio for Mac, Xamarin.iOS, and C#. You learned how to work with Storyboards in the Visual Studio for Mac IDE to construct the user interface for our SlidingTiles
game, and then learned how to create the GameTile
Interface and Class that will be used to create each of the tiles for our game.
Next, we implemented the remaining logic in our ViewController
class that completed our SlidingTiles
game. We created an instance method that is used to build our game board, created each of our game tiles using the images from our Array, and also created an instance method that randomly shuffles and arranges each of our game tiles on our game board.
Lastly, we learned how to work with the UITouch
class to handle touch events to determine when a game tile has been tapped on the Game Board. You learned about CoreAnimation and how you can apply simple animations to your UIViews by using View Transitions in an animation...