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

Updating the ViewController class to implement our class methods

In this section, we will look at updating our ViewController class and start to implement each of the class methods that will make up our Sliding Tiles game. If you remember, the ViewController class is essentially a C# class file that is bound to our View Controller contained in our Main.storyboard file, which we saw when we were designing the user interface for our game.

As you start to build your own projects, your Storyboard will essentially contain more than one View Controller, and each View Controller will have its own associated ViewController class, as well as the instance methods that make up the class.

Let's start by modifying the ViewController class for our SlidingTiles ...

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