Add assertion for ASDisplayNode is layer backed if using ASInterfaceStateForDisplayNode

This commit is contained in:
Michael Schneider
2016-03-16 16:27:08 -07:00
parent 41ca796ef4
commit e82118e72f
4 changed files with 19 additions and 18 deletions

View File

@@ -1069,7 +1069,7 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
[node __exitHierarchy];
}
// Updating the visible node index paths only for range managed nodes. Not range managed nodes will get their
// Updating the visible node index paths only for not range managed nodes. Range managed nodes will get their
// their update in the layout pass
if (![node supportsRangeManagedInterfaceState]) {
[_rangeController visibleNodeIndexPathsDidChangeWithScrollDirection:self.scrollDirection];