Creating and implementing the TwitterSignInPageRenderer (iOS)

In this section, we'll take a look at how to create the TwitterSignInPageRender class for the iOS section of our TrackMyWalks solution, which will essentially contain platform-specific methods relating to the iOS platform. These will communicate with our Twitter API in order to display the Twitter sign in dialog within our TwitterSignInPage XAML ContentPage.

Let's start by creating the TwitterSignInPageRenderer class for our TrackMyWalks app by performing the following steps:

  1. Ensure that the TrackMyWalks solution is open within the Visual Studio for Mac IDE.
  2. Next, within the TrackMyWalks.iOS project, right-click on the CustomRenderers folder, and choose Add | New File... from ...

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.