Up

NSLayoutConstraint class documentation

Authors

Generated by Gregory John Casamento,,,

Date: Generated at 2023-12-22 15:07:50 -0500


Contents -

  1. Software documentation for the NSLayoutConstraint class
  2. Software documentation for the NSWindow(NSConstraintBasedLayoutCoreMethods) category

Software documentation for the NSLayoutConstraint class

NSLayoutConstraint : NSObject

Declared in:
AppKit/NSLayoutConstraint.h
Conforms to:
NSCoding
NSCopying
Availability: MacOS-X 10.10.0

Description forthcoming.

Instance Variables

Method summary

activateConstraints: 

+ (void) activateConstraints: (NSArray*)constraints;
Availability: MacOS-X 10.10.0

Description forthcoming.

constraintWithItem: attribute: relatedBy: toItem: attribute: multiplier: constant: 

+ (instancetype) constraintWithItem: (id)view1 attribute: (NSLayoutAttribute)attr1 relatedBy: (NSLayoutRelation)relation toItem: (id)view2 attribute: (NSLayoutAttribute)attr2 multiplier: (CGFloat)mult constant: (CGFloat)c;
Availability: MacOS-X 10.10.0

Description forthcoming.

constraintsWithVisualFormat: options: metrics: views: 

+ (NSArray*) constraintsWithVisualFormat: (NSString*)fmt options: (NSLayoutFormatOptions)opt metrics: (NSDictionary*)metrics views: (NSDictionary*)views;
Availability: MacOS-X 10.10.0

Description forthcoming.

deactivateConstraints: 

+ (void) deactivateConstraints: (NSArray*)constraints;
Availability: MacOS-X 10.10.0

Description forthcoming.

constant 

- (CGFloat) constant;
Availability: MacOS-X 10.10.0

Description forthcoming.

firstAnchor 

- (NSLayoutAnchor*) firstAnchor;
Availability: MacOS-X 10.10.0

Description forthcoming.

firstAttribute 

- (NSLayoutAttribute) firstAttribute;
Availability: MacOS-X 10.10.0

Description forthcoming.

firstItem 

- (id) firstItem;
Availability: MacOS-X 10.10.0

Description forthcoming.

isActive 

- (BOOL) isActive;
Availability: MacOS-X 10.10.0

Description forthcoming.

multiplier 

- (CGFloat) multiplier;
Availability: MacOS-X 10.10.0

Description forthcoming.

priority 

- (NSLayoutPriority) priority;
Availability: MacOS-X 10.10.0

Description forthcoming.

relation 

- (NSLayoutRelation) relation;
Availability: MacOS-X 10.10.0

Description forthcoming.

secondAnchor 

- (NSLayoutAnchor*) secondAnchor;
Availability: MacOS-X 10.10.0

Description forthcoming.

secondAttribute 

- (NSLayoutAttribute) secondAttribute;
Availability: MacOS-X 10.10.0

Description forthcoming.

secondItem 

- (id) secondItem;
Availability: MacOS-X 10.10.0

Description forthcoming.

setActive: 

- (void) setActive: (BOOL)flag;
Availability: MacOS-X 10.10.0

Description forthcoming.

setPriority: 

- (void) setPriority: (NSLayoutPriority)priority;
Availability: MacOS-X 10.10.0

Description forthcoming.



Instance Variables for NSLayoutConstraint Class

_constant

@protected CGFloat _constant;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_firstAnchor

@protected NSLayoutAnchor* _firstAnchor;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_firstAttribute

@protected NSLayoutAttribute _firstAttribute;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_firstItem

@protected id _firstItem;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_multiplier

@protected CGFloat _multiplier;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_priority

@protected NSLayoutPriority _priority;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_relation

@protected NSLayoutRelation _relation;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_secondAnchor

@protected NSLayoutAnchor* _secondAnchor;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_secondAttribute

@protected NSLayoutAttribute _secondAttribute;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_secondItem

@protected id _secondItem;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSWindow(NSConstraintBasedLayoutCoreMethods) category

NSWindow(NSConstraintBasedLayoutCoreMethods)

Declared in:
AppKit/NSLayoutConstraint.h
Availability: MacOS-X 10.10.0

Description forthcoming.
Method summary

_bootstrapAutoLayout 

- (void) _bootstrapAutoLayout;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

layoutIfNeeded 

- (void) layoutIfNeeded;
Availability: MacOS-X 10.10.0

Description forthcoming.


Up