MutableLayoutConstraint
public class MutableLayoutConstraint : LayoutConstraintProtocolLayout constraint that creates possibility to change active state.
- 
                  
                  Flag, defines that constraint may be used for layout DeclarationSwift public var isActive: Bool { get set }
- 
                  
                  Designed initializer DeclarationSwift public init(base: LayoutConstraintProtocol, isActive: Bool)ParametersbaseConstraint for mutating isActiveInitial state 
- 
                  
                  Converts rect from constraint coordinate space to destination coordinate space if needed. DeclarationSwift public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRectParametersrectInitial rect coordinateSpaceDestination coordinate space Return ValueConverted rect 
- 
                  
                  Return rectangle for constrain source rect DeclarationSwift public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRectParameterscurrentSpaceSource rect in current state coordinateSpaceWorking coordinate space Return ValueRect for constrain 
- 
                  
                  LayoutElementobject associated with this constraintDeclarationSwift public func layoutElement(is object: AnyObject) -> Bool
- 
                  
                  Flag that constraint not required other calculations. It`s true for size-based constraints. DeclarationSwift public var isIndependent: Bool { get }
 MutableLayoutConstraint Class Reference
        MutableLayoutConstraint Class Reference