Instance Property

predicate

The predicate to evaluate before executing the scene associated with the event trigger.

Declaration

@NSCopying var predicate: NSPredicate? { get }

Discussion

By default, the value of this property is nil, which means that it evaluates as true.

See Also

Adding a Trigger Condition

func updatePredicate(NSPredicate?, completionHandler: (Error?) -> Void)

Replaces the predicate used to evaluate execution of the scene associated with the event trigger.