Archived
1

Renamed NSIndexPath+MPRemoveFirstIndex Category to NSIndexPath+MPReverseIndexPath

Added MPDisplayExtension Category to MPExpression and MPFunction
Added Methods to Invalidate the Cache to MPExpressionLayout and MPFunctionLayout
This commit is contained in:
Kim Wittenburg
2014-04-23 16:05:20 +02:00
parent e048deef1f
commit fa499d299c
9 changed files with 140 additions and 14 deletions

View File

@@ -74,6 +74,7 @@
- (void)invalidate
{
_valid = NO;
[self.parent invalidate];
}
- (void)expressionEditedInRange:(NSRange)range replacementLength:(NSUInteger)length
@@ -86,7 +87,7 @@
[newPlaceholders addObject:[NSNull null]];
}
[_symbolCache replaceObjectsInRange:range withObjectsFromArray:newPlaceholders];
_valid = NO;
[self invalidate];
}
- (BOOL)hasCacheForSymbolAtIndex:(NSUInteger)index