mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
Fix the stub for layerActionForKey: to let CA continue the search (#1441)
* Fix the stub for layerActionForKey: to let CA continue the search * Kick CI
This commit is contained in:
@@ -106,7 +106,10 @@ _ASPendingState *ASDisplayNodeGetPendingState(ASDisplayNode *node)
|
||||
void StubImplementationWithNoArgs(id receiver, SEL _cmd) {}
|
||||
void StubImplementationWithSizeRange(id receiver, SEL _cmd, ASSizeRange sr) {}
|
||||
void StubImplementationWithTwoInterfaceStates(id receiver, SEL _cmd, ASInterfaceState s0, ASInterfaceState s1) {}
|
||||
id StubLayerActionImplementation(id receiver, SEL _cmd, NSString *key) { return (id)kCFNull; }
|
||||
|
||||
/// Returning nil here won't trigger unwanted default actions, because we override
|
||||
/// +defaultActionForKey: to return kCFNull.
|
||||
id StubLayerActionImplementation(id receiver, SEL _cmd, NSString *key) { return nil; }
|
||||
|
||||
/**
|
||||
* Returns ASDisplayNodeFlags for the given class/instance. instance MAY BE NIL.
|
||||
|
||||
Reference in New Issue
Block a user