I'm making a watchkit app using Homekit. I got understand it is needed to access the information of homes using homemaneger. So, I add this func at the bottom of my code, but this doesn't work at all!! No print(#function) appears at my logs and every variables is nil. Many codes I looked up are placing same way and it seems they are working. Why can't this work?
extension interfaceController HMHomeManagerDelegate {
func homeManagerDidUpdateHomes(_ manager: HMHomeManager) {
print(#function)
}
}
PS. no errors in my log Xcode:13.1