Creating and implementing the GameTile Interface class

As explained in the introduction to this section, we will start by creating the GameTile interface class for our SlidingTiles game, which will be used to create instances of each game tile that will be displayed in the gameboard View control we added to our ViewController contained in our Storyboard.

Let's start by creating the IGameTile interface for our SlidingTiles app by performing the following steps:

  1. Ensure that the SlidingTiles solution is open in the Visual Studio for Mac IDE.
  2. Next, right-click on the SlidingTiles project and choose Add|New Folder from the pop up menu, as shown in the following screenshot:
Creating a new Folder within the SlidingTiles solution
  1. Then, enter ...

Get Mastering Xamarin UI Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.