Add method to cancel layout transitions in progress

- Also make sure a transition isn't invalidated right after it passed the validation test and before it proceeds
This commit is contained in:
Huy Nguyen
2016-03-20 23:14:53 -07:00
parent 1a57e2c097
commit 9e76d7b603
2 changed files with 23 additions and 10 deletions

View File

@@ -98,4 +98,9 @@ ASDISPLAYNODE_EXTERN_C_END
*/
- (BOOL)placeholderShouldPersist;
/**
* @abstract Cancels all performing layout transitions. Can be called on any thread.
*/
- (void)cancelLayoutTransitionsInProgress;
@end