[][src]Trait uikit_sys::PUITableViewDataSource

pub trait PUITableViewDataSource: Sized + Deref {
    unsafe fn tableView_numberOfRowsInSection_(
        self,
        tableView: UITableView,
        section: NSInteger
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_cellForRowAtIndexPath_(
        self,
        tableView: UITableView,
        indexPath: NSIndexPath
    ) -> UITableViewCell
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn numberOfSectionsInTableView_(
        self,
        tableView: UITableView
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_titleForHeaderInSection_(
        self,
        tableView: UITableView,
        section: NSInteger
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_titleForFooterInSection_(
        self,
        tableView: UITableView,
        section: NSInteger
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_canEditRowAtIndexPath_(
        self,
        tableView: UITableView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_canMoveRowAtIndexPath_(
        self,
        tableView: UITableView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sectionIndexTitlesForTableView_(
        self,
        tableView: UITableView
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_sectionForSectionIndexTitle_atIndex_(
        self,
        tableView: UITableView,
        title: NSString,
        index: NSInteger
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_commitEditingStyle_forRowAtIndexPath_(
        self,
        tableView: UITableView,
        editingStyle: UITableViewCellEditingStyle,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tableView_moveRowAtIndexPath_toIndexPath_(
        self,
        tableView: UITableView,
        sourceIndexPath: NSIndexPath,
        destinationIndexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn tableView_numberOfRowsInSection_(
    self,
    tableView: UITableView,
    section: NSInteger
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn tableView_cellForRowAtIndexPath_(
    self,
    tableView: UITableView,
    indexPath: NSIndexPath
) -> UITableViewCell where
    Self::Target: Message + Sized

unsafe fn numberOfSectionsInTableView_(
    self,
    tableView: UITableView
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn tableView_titleForHeaderInSection_(
    self,
    tableView: UITableView,
    section: NSInteger
) -> NSString where
    Self::Target: Message + Sized

unsafe fn tableView_titleForFooterInSection_(
    self,
    tableView: UITableView,
    section: NSInteger
) -> NSString where
    Self::Target: Message + Sized

unsafe fn tableView_canEditRowAtIndexPath_(
    self,
    tableView: UITableView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn tableView_canMoveRowAtIndexPath_(
    self,
    tableView: UITableView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn sectionIndexTitlesForTableView_(
    self,
    tableView: UITableView
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn tableView_sectionForSectionIndexTitle_atIndex_(
    self,
    tableView: UITableView,
    title: NSString,
    index: NSInteger
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn tableView_commitEditingStyle_forRowAtIndexPath_(
    self,
    tableView: UITableView,
    editingStyle: UITableViewCellEditingStyle,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn tableView_moveRowAtIndexPath_toIndexPath_(
    self,
    tableView: UITableView,
    sourceIndexPath: NSIndexPath,
    destinationIndexPath: NSIndexPath
) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl PUITableViewDataSource for UITableViewController[src]

impl PUITableViewDataSource for UITableViewDiffableDataSource[src]

Loading content...