BaseUITableViewHeaderFooterView

open class BaseUITableViewHeaderFooterView: UITableViewHeaderFooterView, BaseView

BaseUITableViewHeaderFooterView is a subclass of UITableViewHeaderFooterView and implements BaseView. It has some extra proporties and support for SyncEngine.

  • Flag for whether to resize the values for iPad.

    Declaration

    Swift

    @IBInspectable open var sizeForIPad:Bool = false;
  • Background color key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var bgColorStyle:String? = nil
  • Tint color key from SyncEngine.

    Declaration

    Swift

    @IBInspectable open var tintColorStyle:String? = nil
  • Font name key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var fontName:String? = "fontRegular"
  • Font size/ style key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var fontStyle:String? = "medium"
  • Font Color key from SyncEngine.

    Declaration

    Swift

    @IBInspectable open var fontColor:String? = nil
  • Detail Text Font size/ style key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var detailFontStyle:String? = "medium"
  • Detail Text Font Color key from SyncEngine.

    Declaration

    Swift

    @IBInspectable open var detailFontColor:String? = nil
  • Holds Table View Header/Footer View Data.

    Declaration

    Swift

    open var data:Any?
  • Overridden constructor to setup/ initialize components.

    Parameter

    Parameter reuseIdentifier: Reuse identifier

    Declaration

    Swift

    public override init(reuseIdentifier: String?)

    Parameters

    reuseIdentifier

    Reuse identifier

  • Required constructor implemented.

    Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Overridden method to setup/ initialize components.

    Declaration

    Swift

    override open func awakeFromNib()
  • This method should be called in cellForRowAt:indexPath. it also must be overriden in all sub classes of BaseUITableViewHeaderFooterView to update the table view header/Footer view content.

    Parameter

    Parameter data: Header View Data

    Declaration

    Swift

    open func updateData(_ data:Any?)

    Parameters

    data

    Header View Data