MonoTouch.UIKit.UITableViewSource Class
Joint MonoTouch.UIKit.UITableViewDataSource and MonoTouch.UIKit.UITableViewDelegate base class. Preferred way to provide data and handle lifecycle events for MonoTouch.UIKit.UITableViews.

See Also: UITableViewSource Members

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Register("UITableViewSource", false)]
public abstract class UITableViewSource : UIScrollViewDelegate

See Also

UITableView
UITableViewDataSource
UITableViewDelegate

Remarks

MonoTouch.UIKit.UITableViewSource merges both the MonoTouch.UIKit.UITableViewDataSource and the MonoTouch.UIKit.UITableViewDelegate into a single class. It is more cohesive than subclassing those independently, but there is no technical barrier to application developers working with those types directly.

Application developers must subtype this class, override the methods as necessary, and assign an instance of this object to the UITableView.Source property.

The methods merged from MonoTouch.UIKit.UITableViewDataSource provide the table view with all the information it requires to display its data - such as informing it of the number of sections and rows, and what cell view to use for each row. The methods merged from MonoTouch.UIKit.UITableViewDelegate provide the table view with the ability to manage selection, configure section headers and footers, delete and reorder cells and control the editing menu.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0