One Logo Pool Ball
GameplayKit · IOS API REFERENCE

GKNSPredicateRule

class · iOS 9.0+ · SDK 27.1

class GKNSPredicateRule

Members (3)

method · iOS 9.0+

evaluatePredicate

TypeScript
evaluatePredicate(system: GKRuleSystem): boolean
Swift declaration
func evaluatePredicate(in system: GKRuleSystem) -> Bool
init · iOS 9.0+

init

TypeScript
static init(predicate: _Foundation_NSPredicate): GKNSPredicateRule
Swift declaration
init(predicate: NSPredicate)
get · iOS 9.0+

predicate

TypeScript
get predicate(): _Foundation_NSPredicate
Swift declaration
var predicate: NSPredicate { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

GKNSPredicateRule.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All GameplayKit types →