Added Lots of Documentation
Added some nice to haves Improved and Unified General Code Layout
This commit is contained in:
@@ -9,17 +9,22 @@
|
||||
#import "MPExpressionStorage.h"
|
||||
|
||||
#import "MPExpressionView.h"
|
||||
#import "MPLayout.h"
|
||||
#import "MPExpressionLayout.h"
|
||||
|
||||
#import "MPRangePath.h"
|
||||
|
||||
|
||||
|
||||
@interface MPExpressionStorage ()
|
||||
|
||||
@property (nonatomic, strong) NSLayoutManager *layoutManager;
|
||||
@property (nonatomic, strong) NSTextContainer *textContainer;
|
||||
@property (nonatomic, strong) NSTextStorage *textStorage;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
@implementation MPExpressionStorage
|
||||
|
||||
- (instancetype)initWithElements:(NSArray *)elements
|
||||
@@ -31,6 +36,7 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
- (void)setExpressionView:(MPExpressionView *)expressionView
|
||||
{
|
||||
_expressionView = expressionView;
|
||||
@@ -38,6 +44,7 @@
|
||||
self.rootLayout.flipped = expressionView.flipped;
|
||||
}
|
||||
|
||||
|
||||
- (void)changedElementsInRangePath:(MPRangePath *)rangePath
|
||||
replacementLength:(NSUInteger)replacementLength
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user