BaseLayoutConstraint

open class BaseLayoutConstraint: NSLayoutConstraint

BaseLayoutConstraint is a subclass of NSLayoutConstraint to resize the constraints according to the device screen resolution.

  • Flag for whether to resize the values for iPad.

    Declaration

    Swift

    @IBInspectable open var sizeForIPad:Bool = false;
  • Flag for whether to resize the values considering UINavigationbar fixed height(64).

    Declaration

    Swift

    @IBInspectable open var sizeForNavi:Bool = false;
  • Overridden method to setup/ initialize components.

    Declaration

    Swift

    override open func awakeFromNib()