O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required