Respond to CR.

pull/1/head
Matthew Chen 8 years ago
parent 34811a635b
commit 5cfa7e35f4

@ -3942,12 +3942,13 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
NSUInteger oldCellCount = [self.messageMappings numberOfItemsInGroup:self.thread.uniqueId];
[self resetMappings];
// ViewItem's modified while we were not observing may be stale.
// TODO have a more fine-grained cache expiration based on rows modified.
// ViewItems modified while we were not observing may be stale.
//
// TODO: have a more fine-grained cache expiration based on rows modified.
[self.viewItemMap removeAllObjects];
[self resetMappings];
NSUInteger newCellCount = [self.messageMappings numberOfItemsInGroup:self.thread.uniqueId];
// Detect changes in the mapping's "window" size.

Loading…
Cancel
Save