predicate
A predicate to be tested when evaluating the rule.
Declaration
var predicate: NSPredicate { get }Discussion
When the rule is evaluated, GameplayKit tests this predicate against the GKRuleSystem object evaluating the rule.
A predicate to be tested when evaluating the rule.
var predicate: NSPredicate { get }When the rule is evaluated, GameplayKit tests this predicate against the GKRuleSystem object evaluating the rule.