Added Lots of Documentation
Added some nice to haves Improved and Unified General Code Layout
This commit is contained in:
@@ -9,13 +9,51 @@
|
||||
#import "MPExpression.h"
|
||||
|
||||
|
||||
/*!
|
||||
@header
|
||||
This file contains the <code>MPExpressionStorage</code> class.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@class MPExpressionStorage, MPExpressionView, MPExpressionLayout;
|
||||
|
||||
|
||||
/*!
|
||||
@class MPExpressionStorage
|
||||
@abstract An expression storage manages the contents of an expression view
|
||||
and notifies it when the underlying expression changes.
|
||||
*/
|
||||
@interface MPExpressionStorage : MPExpression
|
||||
|
||||
@property (nonatomic, weak) MPExpressionView *expressionView; // Do not set
|
||||
/*!
|
||||
@property expressionView
|
||||
@abstract The receiver's expression view.
|
||||
|
||||
@discussion The expression view is the view that displays the contents of the
|
||||
expression storage. Normally you should not call the setter of
|
||||
this property. It is automatically assigned when the <code>@link
|
||||
//apple_ref/occ/instp/MPExpressionView/expressionStorage@/link</code>
|
||||
property of the <code>@link
|
||||
//apple_ref/occ/cl/MPExpressionView@/link</code> class is set.
|
||||
|
||||
When this property is set the receiver assumes that the
|
||||
displaying expression view has changed. It then adapts to the
|
||||
properties of the new expression view and discards the root
|
||||
layout.
|
||||
*/
|
||||
@property (nonatomic, weak) MPExpressionView *expressionView;
|
||||
|
||||
|
||||
/*!
|
||||
@property rootLayout
|
||||
@abstract The receiver's root layout.
|
||||
|
||||
@discussion The root layout is the root node of the layout tree that draws
|
||||
the receiver's contents. For more information see the
|
||||
documentation on the <code>@link
|
||||
//apple_ref/occ/cl/MPLayout@/link</code> class.
|
||||
*/
|
||||
@property (nonatomic, strong) MPExpressionLayout *rootLayout;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user