Implementing the login screen

Since the first screen of our application will be a login screen, let's begin by setting up the appropriate views in the storyboard file. We will implement the login screen using Xamarin Studio to write the C# code, and its iOS designer to create iOS layouts in our storyboard file.

Creating a LoginController class

Return to the project in Xamarin Studio and perform the following steps:

  1. Double-click on the MainStoryboard.storyboard file to open it in the iOS designer.
  2. Select your view controller and click on the Properties pane and select the Widget tab.
  3. Enter LoginController into the Class field.
  4. Notice that the LoginController class is generated for you. You can create a Controllers folder and move the file in it if you ...

Get Xamarin: Cross-Platform Mobile Application Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.