TableViewDataSourceDelegate
public protocol TableViewDataSourceDelegate : AnyObject
Delegate protocol for a TableViewSource instance. Combines a NSFetchedResults object (Object) with a UITableViewCell
instance (Cell).
-
Undocumented
Declaration
Swift
associatedtype Entity : NSFetchRequestResult -
Undocumented
Declaration
Swift
associatedtype Cell : UITableViewCell -
Determine if this row can be deleted.
Declaration
Swift
func canDelete(_ index: IndexPath) -> BoolParameters
indexrow index
Return Value
true if so
-
Delete the object at a given row.
Declaration
Swift
func delete(_ obj: Entity, at: IndexPath)Parameters
objthe object to delete
atthe row the object is in
-
Notification that the table was updated due to NSFetchResultsController activity
Declaration
Swift
func updated()
View on GitHub
TableViewDataSourceDelegate Protocol Reference