predicateForEvaluatingTriggerOccurring(afterSignificantEvent:)
Creates a predicate that evaluates whether the event occurred after a significant event.
Declaration
class func predicateForEvaluatingTriggerOccurring(afterSignificantEvent significantEvent: HMSignificantTimeEvent) -> NSPredicateParameters
- significantEvent:
The significant event to compare against.
Return Value
A predicate object that represents a condition to evaluate before executing the scene.
See Also
Creating predicates
predicateForEvaluatingTriggerOccurring(beforeSignificantEvent:)predicate(forEvaluatingTriggerOccurringBetweenSignificantEvent:secondSignificantEvent:)predicateForEvaluatingTrigger(occurringBefore:)predicateForEvaluatingTrigger(occurringOn:)predicateForEvaluatingTrigger(occurringAfter:)predicateForEvaluatingTriggerOccurringBetweenDate(with:secondDateWith:)predicateForEvaluatingTrigger(_:relatedBy:toValue:)predicateForEvaluatingTrigger(withPresence:)HMCharacteristicKeyPathHMCharacteristicValueKeyPathHMPresenceKeyPath