General improvements

- Refactor naming of ASEnvironmentCollection to ASEnvironmentState
- Remove struct pointers
- Move ASEnvironmentStatePropagation to a enum class
- Move merge functions to pure functions
- Move ASLayoutOptionsForwarding and ASLayoutableExtensibility into ASLayoutSpec and ASDisplayNode
- Remove ASLayoutableSetValuesForLayoutable and move into explicit classes (ASDisplayNode, ASTextNode)
This commit is contained in:
Michael Schneider
2016-03-30 22:02:17 -07:00
parent 65b4961802
commit 4e757f0969
13 changed files with 281 additions and 309 deletions

View File

@@ -200,9 +200,9 @@
@implementation ASStackLayoutSpec (ASEnvironment)
- (BOOL)supportsMultipleChildren
- (BOOL)supportsUpwardPropagation
{
return YES;
return NO;
}
@end