ASInterfaceStateVisible is now being driven by a new ASRangeHandlerVisible.

This commit is contained in:
Scott Goodson
2015-11-29 13:24:42 -08:00
parent 1ed22866b1
commit 936730d46b
12 changed files with 124 additions and 64 deletions

View File

@@ -118,6 +118,10 @@ typedef NS_OPTIONS(NSUInteger, ASDisplayNodeMethodOverrides) {
// Bitmask to check which methods an object overrides.
@property (nonatomic, assign, readonly) ASDisplayNodeMethodOverrides methodOverrides;
// These methods are recursive, and either union or remove the provided interfaceState to all sub-elements.
- (void)enterInterfaceState:(ASInterfaceState)interfaceState;
- (void)exitInterfaceState:(ASInterfaceState)interfaceState;
// Swizzle to extend the builtin functionality with custom logic
- (BOOL)__shouldLoadViewOrLayer;
- (BOOL)__shouldSize;