[Layout API] Rename ASStaticLayoutSpec to ASAbsoluteLayoutSpec (#2288)

* Rename static to absolute

* Fix examples, rename ASAbsoluteLayoutSpec class method

* rename +staticLayoutSpecWithChildren to +absoluteLayoutSpecWithChildren

* address Michael's comments
This commit is contained in:
Hannah Troisi
2016-09-28 10:05:31 -07:00
committed by Adlai Holler
parent 37d9d401b3
commit 87595c7d3b
26 changed files with 71 additions and 73 deletions

View File

@@ -726,7 +726,7 @@ static void *ASVideoPlayerNodeContext = &ASVideoPlayerNodeContext;
[overlaySpec.style setSizeWithCGSize:maxSize];
[children addObject:overlaySpec];
return [ASStaticLayoutSpec staticLayoutSpecWithChildren:children];
return [ASAbsoluteLayoutSpec absoluteLayoutSpecWithChildren:children];
}
- (ASLayoutSpec *)defaultLayoutSpecThatFits:(CGSize)maxSize