Added Change Notifications to MPExpression, MPMutableExpression and MPFunction
Removed -beginEditing and -endEditing Optimized -fixSymbols Updated Project File
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
@class MPExpression, MPFunction;
|
||||
@class MPExpression, MPFunction, MPRangePath;
|
||||
|
||||
extern NSString *MPAdditionOperator;
|
||||
extern NSString *MPSubtractionOperator;
|
||||
@@ -86,14 +86,17 @@ extern NSString *MPDivisionOperator;
|
||||
|
||||
@end
|
||||
|
||||
@interface MPExpression (MPChangeNotificationExtension)
|
||||
|
||||
- (void)symbolsChangedInRangePath:(MPRangePath *)rangePath replacementLength:(NSUInteger)length;
|
||||
|
||||
@end
|
||||
|
||||
@interface MPMutableExpression : MPExpression
|
||||
|
||||
- (void)replaceSymbolsInRange:(NSRange)range
|
||||
withSymbols:(NSArray *)symbols;
|
||||
|
||||
- (void)beginEditing;
|
||||
- (void)endEditing;
|
||||
|
||||
@end
|
||||
|
||||
@interface MPMutableExpression (MPMutableExpressionExtensionMethods)
|
||||
|
||||
Reference in New Issue
Block a user