[ASTableNode/ASCollectionNode] Inversion (#2891)

* Add inverted property to ASTableNode

* Add inverted property to ASCollectionNode

* Add example

* De-inform data controller and use different CATransform3D

* Add logic to pending state

* Add accessor for inverted property
This commit is contained in:
aaronschubert0
2017-01-20 02:16:01 +00:00
committed by Adlai Holler
parent e69a475d2b
commit b3be451486
53 changed files with 1746 additions and 13 deletions

View File

@@ -1408,6 +1408,9 @@ static NSString * const kReuseIdentifier = @"_ASCollectionReuseIdentifier";
if (node.interactionDelegate == nil) {
node.interactionDelegate = strongSelf;
}
if (_inverted) {
node.transform = CATransform3DMakeScale(1, -1, 1) ;
}
return node;
};
return block;