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 after the built-in text message application on 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 to perform the following steps:

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

Get Xamarin: Cross-Platform Mobile Application Development 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.