InfiniteCell
open class InfiniteCell : UITableViewCell
InfiniteCell is used to display one of the infinite items.
Version
1.5.0Date
07/09/2019-
The button used to switch expand status.
Declaration
Swift
@IBOutlet public weak var switchButton: UIButton? { get set } -
The additional view that should be shown after being expanded. Nil stands for not expandable.
Declaration
Swift
@IBOutlet public weak var additionalView: UIView? { get set } -
Render the cell with an item.
Declaration
Swift
open func render(withItem item: Any)Parameters
itemThe item to be rendered.
-
Expand the cell.
Declaration
Swift
open func expand() -
Collapse the cell.
Declaration
Swift
open func collapse()
InfiniteCell Class Reference