Returns a Boolean value indicating whether the rule has been satisfied in the context of the specified rule system.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The rule system against which to evaluate the rule.
YES if the rule is satisfied (and its action should be executed); otherwise,
A rule system calls this method when evaluating its rules.
If the rule was created with the
rule, calling this method returns the result of testing the predicate against the provided rule system. If the rule was created with the
rule method, calling this method calls the predicate block and returns the result. Otherwise, this method always returns
NO—subclasses should override this method to implement their own predicate tests.