Basic implementation of transitioning API for layout specs

This commit is contained in:
Levi McCallum
2016-02-04 17:02:55 -08:00
parent b033b544d5
commit 9dc358196a
9 changed files with 289 additions and 63 deletions

View File

@@ -571,6 +571,17 @@ NS_ASSUME_NONNULL_BEGIN
@end
@interface ASDisplayNode (Transitioning)
/**
@abstract Invalidates the current layout and begins a relayout of the node to the new layout returned in `calculateLayoutThatFits:`.
@discussion Animation is optional, but will still proceed through the `transitionLayout` methods with `isAnimated == NO`.
*/
- (void)transitionLayoutWithAnimation:(BOOL)animated;
@end
/**
* Convenience methods for debugging.