HomeKit iOS 10.3 to 11.0 API Differences

HMAccessory.h
HMActionSet.h
Declaration
From@property (nonatomic, readonly, copy, nonnull) NSDate *lastExecutionDate
To@property (nonatomic, readonly, copy, nullable) NSDate *lastExecutionDate

HMCalendarEvent.h
HMCharacteristicEvent.h
Protocols
Fromnone
ToNSCopying, NSMutableCopying

Availability
FromAvailable
ToDeprecated

HMCharacteristicThresholdRangeEvent.h
HMCharacteristicTypes.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedUse -[HMAccessory manufacturer] instead

AvailabilityReplacement
FromAvailablenone
ToDeprecatedUse -[HMAccessory model] instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported

AvailabilityReplacement
FromAvailablenone
ToDeprecatedUse -[HMAccessory firmwareVersion] instead

HMDurationEvent.h
HMError.h
HMEvent.h
HMEventTrigger.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse updateEvents:completionHandler: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse updateEvents:completionHandler: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse predicateForEvaluatingTriggerOccurringBeforeSignificantEvent: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse predicateForEvaluatingTriggerOccurringAfterSignificantEvent: instead

HMEventTriggerActivationState.h
HMHome.h
HMLocationEvent.h
Protocols
Fromnone
ToNSCopying, NSMutableCopying

Availability
FromAvailable
ToDeprecated

HMNumberRange.h
HMPresenceEvent.h
HMPresenceEventDefines.h
HMSignificantEvents.h
Declaration
FromNSString *const _Nonnull HMSignificantEventSunrise
Toconst HMSignificantEvent _Nonnull HMSignificantEventSunrise

Declaration
FromNSString *const _Nonnull HMSignificantEventSunset
Toconst HMSignificantEvent _Nonnull HMSignificantEventSunset

HMSignificantTimeEvent.h
HMTimeEvent.h