Revert "[ASLayoutSpec] Use childrenMap directly to prevent creating an NSArray within ASDK (#1937)"

Something interesting going on here with ARC / Objective-C++ that we are investigating and will re-land.

This reverts commit c90ed08d10.
This commit is contained in:
Scott Goodson
2016-07-31 18:43:20 -07:00
parent c797fdf23a
commit 735b4ebd08
8 changed files with 48 additions and 138 deletions

View File

@@ -2958,15 +2958,6 @@ static const char *ASDisplayNodeDrawingPriorityKey = "ASDrawingPriority";
}
}
#pragma mark - NSFastEnumeration
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state
objects:(id __unsafe_unretained [])stackbuf
count:(NSUInteger)stackbufLength
{
return [self.children countByEnumeratingWithState:state objects:stackbuf count:stackbufLength];
}
ASEnvironmentLayoutOptionsForwarding
ASEnvironmentLayoutExtensibilityForwarding