Archived
1

Corrected MVC Implementation

This commit is contained in:
Kim Wittenburg
2015-01-08 21:58:15 +01:00
parent ee13abb8e7
commit 72abd9bc39
5 changed files with 34 additions and 38 deletions

View File

@@ -21,38 +21,17 @@
/*!
@class MPExpressionStorage
@abstract An expression storage manages the contents of an expression view
and notifies it when the underlying expression changes.
@abstract An expression storage manages the contents of an expression view.
*/
@interface MPExpressionStorage : MPExpression
/*!
@property expressionView
@abstract The receiver's expression view.
@discussion The expression view is the view that displays the contents of an
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 respective <code>@link
//apple_ref/occ/cl/MPExpressionView@/link</code> instance is set.
When this property is set the receiver assumes that the
displaying expression view has changed (regardless of wether the
actual value of the property changed or not). It then adapts to
the properties of the new expression view and discards the
current 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
the receiver's contents in an expression view. For more
information see the documentation on the <code>@link
//apple_ref/occ/cl/MPLayout@/link</code> class.
*/
@property (nonatomic, strong) MPExpressionLayout *rootLayout;