InfiniteCell

open class InfiniteCell : UITableViewCell

InfiniteCell is used to display one of the infinite items.

Author

Adamas

Version

1.5.0

Date

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

    item

    The item to be rendered.

  • Expand the cell.

    Declaration

    Swift

    open func expand()
  • Collapse the cell.

    Declaration

    Swift

    open func collapse()