Type Property 型プロパティ

EKEventStoreChanged

A notification posted when changes are made to the Calendar database. 変更がCalendarデータベースになされたときに投函される通知。

Declaration 宣言

static let EKEventStoreChanged: NSNotification.Name

Discussion 議論

This notification is posted whenever changes are made to the Calendar database, including adding, removing, and changing events or reminders. Individual changes are not described. When you receive this notification, you should refetch all EKEvent and EKReminder objects you have accessed, as they are considered stale. この通知は、追加、除去、そしてイベントやリメインダーの変更を含む変更が、Calendarデータベースになされる時はいつでも投函されます。個々の変更は記述されません。あなたがこの通知を受け取る場合、あなたは、あなたがアクセスした全てのEKEventEKReminderオブジェクトを、それらが古くなったと考えられるので再取得すべきです

If you are actively editing an event and do not wish to refetch it unless it is absolutely necessary to do so, you can call the refresh method on it. If the method returns true, you do not need to refetch the event. あなたがイベントを活発に編集していて、それの再取得を、そうすることが絶対に必要である場合を除いてしようと願わないならば、あなたはリフレッシュメソッドをそれの上で呼び出すことができます。メソッドがtrueを返すならば、あなたはイベントを再取得する必要はありません。