Instance Property


An array of all homes managed by this home manager.


var homes: [HMHome] { get }


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

class HMHome

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