UAActionPredicateProtocol
Objective-C
@protocol UAActionPredicateProtocol <NSObject>
Swift
protocol ActionPredicateProtocol : NSObjectProtocol
An protocol that defines the minimal functionality of a valid action predicate when loading a actions from a plist.
-
Applies predicate to action arguments to define the action’s runnable scope.
Declaration
Objective-C
- (BOOL)applyActionArguments:(nonnull UAActionArguments *)args;
Swift
func applyActionArguments(_ args: Any!) -> Bool
Parameters
args
Action arguments.
Return Value
YES
if action should run in the scope outlined by the action arguments,NO
otherwise.