RSDTableDataSourceDelegate
public protocol RSDTableDataSourceDelegate : AnyObject, NSObjectProtocol
Delegate for the data source.
-
Called when the answers tracked by the data source change.
Declaration
Swift
func tableDataSource(_ dataSource: RSDTableDataSource, didChangeAnswersIn section: Int)
Parameters
dataSource
The calling data source.
section
The section that changed.
-
Called before editing the table rows and sections.
Declaration
Swift
func tableDataSourceWillBeginUpdate(_ dataSource: RSDTableDataSource)
-
Called to remove rows from a data source. Calls to this method should be wrapped within a begin/end update.
Declaration
Swift
func tableDataSource(_ dataSource: RSDTableDataSource, didRemoveRows removedRows: [IndexPath], with animation: RSDUIRowAnimation)
-
Called to add rows to a data source. Calls to this method should be wrapped within a begin/end update.
Declaration
Swift
func tableDataSource(_ dataSource: RSDTableDataSource, didAddRows addedRows: [IndexPath], with animation: RSDUIRowAnimation)
-
Called after editing the table rows and sections.
Declaration
Swift
func tableDataSourceDidEndUpdate(_ dataSource: RSDTableDataSource)