Instance Property


An array of all homes managed by this home manager.


@property(readonly, copy, nonatomic) NSArray<HMHome *> *homes;


When you create a new home manager, its homes array is empty by default. You can only be sure that this array is properly initialized with data from the shared HomeKit database after the manager calls its delegate’s homeManagerDidUpdateHomes: method for the first time.

See Also

Working with the Home Layout


The primary unit of living space, typically composed of rooms organized into zones.