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

@@ -97,7 +97,7 @@ FOUNDATION_EXPORT NSString * const ASRenderingEngineDidDisplayNodesScheduledBefo
// This is the desired contentsScale, not the scale at which the layer's contents should be displayed
CGFloat _contentsScaleForDisplay;
ASEnvironmentCollection _environmentCollection;
ASEnvironmentState _environmentState;
ASLayout *_layout;
ASSizeRange _constrainedSize;