I find the documentation a bit rare. Here is an example
NSLayoutAttributeTrailing The trailing edge of the object's alignment rectangle. Available in iOS 6.0 and later. Declared in NSLayoutConstraint.h
In particular, I want all these explanations
NSLayoutAttributeLeft NSLayoutAttributeRight NSLayoutAttributeTop NSLayoutAttributeBottom NSLayoutAttributeLeading NSLayoutAttributeTrailing NSLayoutAttributeWidth NSLayoutAttributeHeight NSLayoutAttributeCenterX NSLayoutAttributeCenterY NSLayoutAttributeBaseline NSLayoutAttributeLastBaseline NSLayoutAttributeFirstBaseline NSLayoutAttributeLeftMargin NSLayoutAttributeRightMargin NSLayoutAttributeTopMargin NSLayoutAttributeBottomMargin NSLayoutAttributeLeadingMargin NSLayoutAttributeTrailingMargin NSLayoutAttributeCenterXWithinMargins NSLayoutAttributeCenterYWithinMargins
source share