Reputation: 22962
I find the documentation a little sparse. Here's an example
NSLayoutAttributeTrailing
The trailing edge of the object’s alignment rectangle.
Available in iOS 6.0 and later.
Declared in NSLayoutConstraint.h
Specifically I want all these explained
NSLayoutAttributeLeft
NSLayoutAttributeRight
NSLayoutAttributeTop
NSLayoutAttributeBottom
NSLayoutAttributeLeading
NSLayoutAttributeTrailing
NSLayoutAttributeWidth
NSLayoutAttributeHeight
NSLayoutAttributeCenterX
NSLayoutAttributeCenterY
NSLayoutAttributeBaseline
NSLayoutAttributeLastBaseline
NSLayoutAttributeFirstBaseline
NSLayoutAttributeLeftMargin
NSLayoutAttributeRightMargin
NSLayoutAttributeTopMargin
NSLayoutAttributeBottomMargin
NSLayoutAttributeLeadingMargin
NSLayoutAttributeTrailingMargin
NSLayoutAttributeCenterXWithinMargins
NSLayoutAttributeCenterYWithinMargins
Upvotes: 6
Views: 3099