Protocols
The following protocols are available globally.
- 
                  
                  
Provide a background view to be displayed behind the other contents of a cell. An implementation should maintain some internal state about the contents of the view.
See moreDeclaration
Swift
public protocol BackgroundViewProvider 
- 
                  
                  
A type that provides the information required by
FunctionalTableDatato generate cells.The
keyproperty should be a unique String for the section that the item is contained in. It should also be representative of the item and not just a random value or UUID. This is because on an update pass thekeyis used to determine if an item has been added, moved, or removed from the data set. Using a stable value means that this can correctly be determined.The
isEqualfunction is used to determine if two CellConfigType’s have matching keys and they represent the same data. This allows the system to update the views state directly when something has changed instead of forcing a reload of the entire cell all the time.When two items have matching
See morekeyvalues but theisEqualcall between old and new returns false theupdatefunction is called. It is the responsibility of this function to update the cell, and any subviews of the cell, to reflect the state.Declaration
Swift
public protocol CellConfigType : CollectionItemConfigType, TableItemConfigType 
- 
                  
                  
A type that identifies a dequeueable object. Used by
See moreFunctionalTableDatato increase performance by reusing objects when it needs to, just likeUITableViewandUICollectionView.Declaration
Swift
public protocol Reusable : AnyObject 
- 
                  
                  
A type that provides the information about a section.
See moreDeclaration
Swift
public protocol TableSectionType 
- 
                  
                  
A type that provides the debugging information when an exception occurs.
See moreDeclaration
Swift
public protocol FunctionalTableDataExceptionHandler 
View on GitHub
        Protocols  Reference