HomeKit Changes for Objective-C
HomeKit
HMAccessory.h
Added HMAccessory.category
Modified HMAccessory.identifier
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Declaration | Deprecation | |
---|---|---|
From | @property(readonly, copy, nonatomic) NSArray *identifiersForBridgedAccessories | -- |
To | @property(readonly, copy, nonatomic, nullable) NSArray<NSUUID *> *identifiersForBridgedAccessories | iOS 9.0 |
Modified HMAccessory.services
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *services |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMService *> *services |
HMAccessoryBrowser.h
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *discoveredAccessories |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMAccessory *> *discoveredAccessories |
HMAccessoryCategory.h (Added)
HMAccessoryCategoryTypes.h (Added)
HMAction.h
HMActionSet.h
Added HMActionSetTypeSleep
Added HMActionSetTypeWakeUp
Modified HMActionSet.actions
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSSet *actions |
To | @property(readonly, copy, nonatomic, nonnull) NSSet<HMAction *> *actions |
HMCharacteristic.h
Modified HMCharacteristic.properties
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *properties |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<NSString *> *properties |
Modified HMCharacteristicPropertyReadable
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicPropertyWritable
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeAdminOnlyAccess
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeAudioFeedback
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeBrightness
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeCoolingThreshold
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeCurrentDoorState
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeHeatingThreshold
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeHue
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeIdentify
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeLogs
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeManufacturer
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeModel
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeMotionDetected
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeName
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeOutletInUse
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypePowerState
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeRotationSpeed
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeSaturation
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeSerialNumber
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeTargetDoorState
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeTemperatureUnits
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeVersion
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
HMCharacteristicDefines.h
HMCharacteristicEvent.h (Added)
HMCharacteristicTypes.h (Added)
Modified HMCharacteristicPropertyReadable
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicPropertyWritable
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeAdminOnlyAccess
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeAudioFeedback
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeBrightness
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeCoolingThreshold
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeCurrentDoorState
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeHeatingThreshold
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeHue
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeIdentify
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeLogs
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeManufacturer
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeModel
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeMotionDetected
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeName
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeOutletInUse
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypePowerState
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeRotationSpeed
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeSaturation
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeSerialNumber
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeTargetDoorState
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeTemperatureUnits
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
Modified HMCharacteristicTypeVersion
Header | |
---|---|
From | HomeKit/HMCharacteristic.h |
To | HomeKit/HMCharacteristicTypes.h |
HMCharacteristicWriteAction.h
Declaration | |
---|---|
From | - (instancetype)initWithCharacteristic:(HMCharacteristic *)characteristic targetValue:(id)targetValue |
To | - (instancetype _Nonnull)initWithCharacteristic:(HMCharacteristic * _Nonnull)characteristic targetValue:(TargetValueType _Nonnull)targetValue |
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) id targetValue |
To | @property(readonly, copy, nonatomic, nonnull) TargetValueType targetValue |
Declaration | |
---|---|
From | - (void)updateTargetValue:(id)targetValue completionHandler:(void (^)(NSError *error))completion |
To | - (void)updateTargetValue:(TargetValueType _Nonnull)targetValue completionHandler:(void (^ _Nonnull)(NSError * _Nullable error))completion |
HMError.h
Introduction | |
---|---|
From | iOS 8.3 |
To | iOS 8.0 |
Modified HMErrorCodeDeviceLocked
Introduction | |
---|---|
From | iOS 8.3 |
To | iOS 8.0 |
HMEvent.h (Added)
Added HMEvent
Added HMEvent.uniqueIdentifier
HMEventTrigger.h (Added)
HMHome.h
Added HMHome.currentUser
Added HMHome.uniqueIdentifier
Modified HMHome.accessories
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *accessories |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMAccessory *> *accessories |
Modified HMHome.actionSets
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *actionSets |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMActionSet *> *actionSets |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified HMHome.rooms
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *rooms |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMRoom *> *rooms |
Modified HMHome.serviceGroups
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *serviceGroups |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMServiceGroup *> *serviceGroups |
Modified -[HMHome servicesWithTypes:]
Declaration | |
---|---|
From | - (NSArray *)servicesWithTypes:(NSArray *)serviceTypes |
To | - (NSArray<HMService *> * _Nullable)servicesWithTypes:(NSArray<NSString *> * _Nonnull)serviceTypes |
Modified HMHome.triggers
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *triggers |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMTrigger *> *triggers |
Modified HMHome.users
Declaration | Deprecation | |
---|---|---|
From | @property(readonly, copy, nonatomic) NSArray *users | -- |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMUser *> *users | iOS 9.0 |
Modified HMHome.zones
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *zones |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMZone *> *zones |
HMHomeAccessControl.h (Added)
Added HMHomeAccessControl
HMHomeManager.h
Modified HMHomeManager.homes
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *homes |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMHome *> *homes |
HMLocationEvent.h (Added)
HMRoom.h
Added HMRoom.uniqueIdentifier
Modified HMRoom.accessories
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *accessories |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMAccessory *> *accessories |
HMService.h
Modified HMService.characteristics
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *characteristics |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMCharacteristic *> *characteristics |
Modified HMServiceTypeAccessoryInformation
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeFan
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeGarageDoorOpener
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeLightbulb
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeLockManagement
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeLockMechanism
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeOutlet
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeSwitch
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeThermostat
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
HMServiceGroup.h
Modified HMServiceGroup.services
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *services |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMService *> *services |
HMServiceTypes.h (Added)
Added HMServiceTypeBattery
Added HMServiceTypeDoor
Added HMServiceTypeLeakSensor
Added HMServiceTypeLightSensor
Added HMServiceTypeSmokeSensor
Added HMServiceTypeWindow
Modified HMServiceTypeAccessoryInformation
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeFan
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeGarageDoorOpener
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeLightbulb
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeLockManagement
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeLockMechanism
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeOutlet
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeSwitch
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
Modified HMServiceTypeThermostat
Header | |
---|---|
From | HomeKit/HMService.h |
To | HomeKit/HMServiceTypes.h |
HMTrigger.h
Modified HMTrigger.actionSets
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *actionSets |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMActionSet *> *actionSets |
HMUser.h
Added HMUser.uniqueIdentifier
HMZone.h
Added HMZone.uniqueIdentifier
Modified HMZone.rooms
Declaration | |
---|---|
From | @property(readonly, copy, nonatomic) NSArray *rooms |
To | @property(readonly, copy, nonatomic, nonnull) NSArray<HMRoom *> *rooms |