Contents

predicateForEvaluatingTrigger(occurringBefore:)

Creates a predicate that evaluates whether the event occurred before the specified time.

Declaration

class func predicateForEvaluatingTrigger(occurringBefore dateComponents: DateComponents) -> NSPredicate

Parameters

  • dateComponents:

    Date components that represent the time to compare with the time that the event occurred.

Return Value

A predicate object that represents a condition to evaluate before executing the scene.

See Also

Creating predicates