O'Reilly logo

Xamarin 4.x Cross-Platform Application Development - Third Edition by Jonathan Peppers

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

Adding a list of messages

Now let's implement the screen to view a conversation or list of messages. We will try to model the screen on the built-in text message application in iOS. To do so, we will also cover the basics of how to create custom table view cells.

To start, we'll need a new MessagesController class; perform the following steps:

  1. Double-click on the Main.storyboard file to open it in the iOS designer.
  2. Add a new Table View Controller to the storyboard.
  3. Select your view controller, click on the Properties pane and make sure you have selected the Widget tab.
  4. Enter MessagesController into the Class field.
  5. Scroll down to the View Controller section and enter Messages in the Title field.
  6. Create a segue from ConversationsController to MessagesController ...

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