NSLayoutConstraint

class NSLayoutConstraint : NSObject
  • Change the multiplier on a constraint by creating a new constraint with all the same properties and the new multiplier

    Declaration

    Swift

    public func rsd_setMultiplier(multiplier: CGFloat) -> NSLayoutConstraint

    Parameters

    multiplier

    The new multipler value.

    Return Value

    A new constraint with the new multiplier value.