Fix naming convetion:

- "Layout node" is changed to "layout spec".
- Update tests.
- Update Kittens sample.
This commit is contained in:
Huy Nguyen
2015-07-01 17:37:26 +07:00
parent eb5670032d
commit 2149d44990
140 changed files with 581 additions and 579 deletions

View File

@@ -10,7 +10,7 @@
#import "ASLayout.h"
#import "ASAssert.h"
#import "ASLayoutNodeUtilities.h"
#import "ASLayoutSpecUtilities.h"
#import <stack>
CGPoint const CGPointNull = {NAN, NAN};
@@ -71,7 +71,7 @@ extern BOOL CGPointIsNull(CGPoint point)
BOOL visited;
};
// Stack of Contexts, used to keep track of sub layouts while traversing the calculated layout in a DFS fashion.
// Stack of Contexts, used to keep track of sublayouts while traversing this layout in a DFS fashion.
std::stack<Context> stack;
stack.push({self, CGPointMake(0, 0), NO});