Working with Tables and Cells
This section introduces the classes used to create and display tables then provides examples of how to use them in Xamarin.iOS. It will cover using the default appearance for tables, customizing the layout, implementing editing and using the Xamarin iOS Designer to design a table visually. Sometimes the display is obviously a list of rows (such as the Music app) and other times it is difficult to recognize the table control (such as editing in the Contacts app, or a conversation in Messages app).
For those working on cross-platform applications with Xamarin.Android, the UITableView control is similar to the ListView class in Android (and the UITableViewSource class is similar to Android’s Adapter classes).
These articles will take a comprehensive look at working with tables, including:
- Table parts – Introducing and explaining the visual elements of the
- Displaying data in tables – Demonstrating how to create and populate a table, use different table and cell styles and avoid memory issues by recycling cell objects.
- Advanced usage – Building custom cells and using the editing features of the UITableView class.
- Creating a table visually – Using the Xamarin Designer for iOS to create a table-driven interface with a Storyboard.
- WorkingWithTables (sample)
- Tables in Storyboards (sample)
- Introduction to Storyboards
- Storyboard a TableView Recipe
- Introduction to MonoTouch.Dialog
- TableEditing sample on Github
- TableParts sample on Github
- TableAndCellStyles sample on Github
- UITableView Class Reference
- UITableViewCell Class Reference