O'Reilly logo

Mastering Xamarin UI Development 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 the custom picker renderer class for the iOS platform

In the previous section, we created a class for the DifficultyPickerEntryCell, as well as defining a number of different data-bindable property methods that will be used to handle the user choosing an item within our custom picker.

In this section, we will build the custom picker renderer model that will be used by the iOS portion of the DifficultyPickerEntryCell. Let's take a look at how we can achieve this, by following these steps:

  1. Create a new folder within the TrackMyWalks.iOS project, called Renderers.
  2. Next, create an empty class within the Renderers folder for our TrackMyWalks.iOS project, and enter DifficultyPickerModel as the name of the new class file to create.
  3. Then, ensure ...

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