Returns a Boolean value indicating whether the rule’s predicate 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.
true if the rule is satisfied (and its action should be executed); otherwise,
GKNSPredicate class overrides this method to use its
predicate property for testing the rule. Subclasses of
GKNSPredicate do not need to override this method.