|
@@ -8,11 +8,25 @@
|
|
|
|
|
|
#import "MASUtilities.h"
|
|
|
|
|
|
+/**
|
|
|
+ * An immutable tuple which stores the view and the related NSLayoutAttribute.
|
|
|
+ * Describes part of either the left or right hand side of a constraint equation
|
|
|
+ */
|
|
|
@interface MASViewAttribute : NSObject
|
|
|
|
|
|
+/**
|
|
|
+ * The view which the reciever relates to
|
|
|
+ */
|
|
|
@property (nonatomic, weak, readonly) MAS_VIEW *view;
|
|
|
+
|
|
|
+/**
|
|
|
+ * The attribute which the reciever relates to
|
|
|
+ */
|
|
|
@property (nonatomic, assign, readonly) NSLayoutAttribute layoutAttribute;
|
|
|
|
|
|
+/**
|
|
|
+ * The designated initializer.
|
|
|
+ */
|
|
|
- (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute;
|
|
|
|
|
|
/**
|