EKEventStoreChanged

I'm trying to enable my app to receive a notification each time the event store changes.


The documentation for EKEventStore at https://developer.apple.com/reference/eventkit/ekeventstore shows the following:


static let EKEventStoreChanged: NSNotification.Name


What does that mean? How do I use that information?

Answered by dongelen in 196524022

You can use it like this:

NotificationCenter.default.addObserver(self, selector: #selector(agendaWijziging), name:  NSNotification.Name.EKEventStoreChanged  , object: nil)
Accepted Answer

You can use it like this:

NotificationCenter.default.addObserver(self, selector: #selector(agendaWijziging), name:  NSNotification.Name.EKEventStoreChanged  , object: nil)

How might this work with SwiftUI?

EKEventStoreChanged
 
 
Q