predicateForEvaluatingTrigger(occurringAfter:)
Creates a predicate that evaluates whether the event occurred at or after the specified time.
Declaration
class func predicateForEvaluatingTrigger(occurringAfter dateComponents: DateComponents) -> NSPredicateParameters
- 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
predicateForEvaluatingTriggerOccurring(beforeSignificantEvent:)predicateForEvaluatingTriggerOccurring(afterSignificantEvent:)predicate(forEvaluatingTriggerOccurringBetweenSignificantEvent:secondSignificantEvent:)predicateForEvaluatingTrigger(occurringBefore:)predicateForEvaluatingTrigger(occurringOn:)predicateForEvaluatingTriggerOccurringBetweenDate(with:secondDateWith:)predicateForEvaluatingTrigger(_:relatedBy:toValue:)predicateForEvaluatingTrigger(withPresence:)HMCharacteristicKeyPathHMCharacteristicValueKeyPathHMPresenceKeyPath