26 lines
671 B
Objective-C
26 lines
671 B
Objective-C
//
|
|
// MPExpressionStorage.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 22.04.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
#import "MPExpression.h"
|
|
|
|
@class MPExpressionStorage, MPExpressionView, MPExpressionLayout;
|
|
|
|
@interface MPExpressionStorage : MPExpression
|
|
|
|
- (instancetype)initWithExpressionView:(MPExpressionView *)expressionView
|
|
elements:(NSArray *)elements;
|
|
|
|
@property (readonly, nonatomic, weak) MPExpressionView *expressionView;
|
|
@property (nonatomic, strong) MPExpressionLayout *rootLayout;
|
|
|
|
- (NSLayoutManager *)layoutManager;
|
|
- (NSTextContainer *)textContainer;
|
|
- (NSTextStorage *)textStorage;
|
|
|
|
@end
|