Is there anything I can do to monitor a change in an embedded child controller variable or realm to update an Icon in the parent view controller in swift?
0
votes
1 Answers
1
votes
Try using Realm Notifications to update your parent controller when there's any change to Realm:
// Observe Realm Notifications
let token = realm.addNotificationBlock { notification, realm in
viewController.updateUI()
}