MetaWatchOpenProjects/MWM-for-iPhone — pull request #7 by slprice (2012-06-18 00:44:54+00:00)
Title: Queued EKEventStoreChangedNotification notifications by using a timer to avoid crashes when events are deleted.

Issue: Deleting the next event (in my case an iCloud calendar synced from my Mac) would cause the MWM app to crash almost every time.

Possible Cause: The event deletion causes several EKEventStoreChangedNotification notifications to fire rapidly, and while handling the first notification the event may still be changing, leading to the crash. That is my theory.

Resolution: Using a timer to delay handling the notification, effectively queuing multiple repeated notifications, eliminated the crashes in my testing. This will also reduce the amount of processing to handle event changes.