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

See Also: UITableViewSource Members


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

See Also



UIKit.UITableViewSource merges both the UIKit.UITableViewDataSource and the 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 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 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.


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: