Rename ASLayoutNode's -computeLayoutThatFits to -calculateLayoutThatFits.

This commit is contained in:
Huy Nguyen
2015-06-24 21:08:03 +07:00
parent 4ad64b2841
commit 810bc3ab84
13 changed files with 23 additions and 23 deletions

View File

@@ -50,7 +50,7 @@
- (void)setLayoutNodeUnderTest:(ASLayoutNode *)layoutNodeUnderTest sizeRange:(ASSizeRange)sizeRange
{
_layoutUnderTest = [layoutNodeUnderTest computeLayoutThatFits:sizeRange];
_layoutUnderTest = [layoutNodeUnderTest calculateLayoutThatFits:sizeRange];
self.frame = CGRectMake(0, 0, _layoutUnderTest.size.width, _layoutUnderTest.size.height);
[self measure:_layoutUnderTest.size];
}