FRUICallbackTableViewCell

public protocol FRUICallbackTableViewCell : UITableViewCell

UITableViewCell protocol for FRUI’s Authentication View Controller customization

  • Unique cell identifier string; should also be registered with same value in Nib file as well.

    Declaration

    Swift

    static var cellIdentifier: String { get }
  • Float value of cell height

    Declaration

    Swift

    static var cellHeight: CGFloat { get }
  • A callback method that will be invoked whenever the cell needs to be rendered with Callback object. Callback object is recommended to persist in the class to update the value or render UI.

    Declaration

    Swift

    func updateCellData(callback: Callback)
  • Default Implementation

    Declaration

    Swift

    func updateCellWithViewController(viewController: UIViewController, callback: Callback, node: Node)