The manager for a collection of one or more of a user’s homes.
SDKs
- iOS 8.0+
- tvOS 10.0+
- watchOS 2.0+
Framework
- Home
Kit
Declaration
@interface HMHomeManager : NSObject
Overview
HomeKit stores the user’s home automation information in a database that’s shared among Apple’s built-in iOS Home app, your HomeKit-enabled app, and apps from other developers. All these apps access the database as peers using the HomeKit framework.

Each app creates a single HMHome
instance to coordinate its HomeKit-related activities. The manager’s homes
array gives your app access to a collection of HMHome
instances that represent the user’s homes. These in turn contain references to the home automation accessories that your app can inspect and control.

Adopt the HMHome
protocol in your app to stay informed of any changes to the set of homes made outside your app.