Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mathpad/MathKit/MPExpressionStorage.h
Kim Wittenburg 7438fd1f95 Added Lots of Documentation
Added some nice to haves
Improved and Unified General Code Layout
2015-01-04 02:54:27 +01:00

60 lines
1.8 KiB
Objective-C

//
// MPExpressionStorage.h
// MathPad
//
// Created by Kim Wittenburg on 22.04.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
#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 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