<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMHomeManager/homes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMHomeManager(py)homes"
  },
  "title" : "homes"
}
-->

# homes

An array of all homes managed by this home manager.

```
var homes: [HMHome] { get }
```

## Discussion

When you create a new home manager, its [`homes`](/documentation/HomeKit/HMHomeManager/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(_:)`](/documentation/HomeKit/HMHomeManagerDelegate/homeManagerDidUpdateHomes(_:)) method for the first time.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)