An interface the home manager uses to communicate changes to the state of the home network.
- iOS 8.0+
- tvOS 10.0+
- watchOS 2.0+
Adopt this protocol to find out about changes made outside your app to the set of homes in the HomeKit database, like when homes are added or removed by another app. You also rely on this protocol when you first create an
HMHome instance. The home manager calls the
home method to indicate that it has finished its initial load of data from the HomeKit database.
Changes that your app initiates—even those made asynchronously followed by a call to a completion handler—generate delegate callbacks in other apps, but not in your own. As a result, your app must update its internal data store or user interface from both the completion handler of an asynchronous call, and the delegate callback that corresponds to the same kind of change made by another app.