---
title: homes
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmhomemanager/homes
---

# homes

An array of all homes managed by this home manager.

## Declaration

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

## Discussion

Discussion 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

- [HMHome](homekit/hmhome.md)
