How Not to Crash #3: NSNotification

Brent Simmons: I have one simple, hard-and-fast rule: NSNotifications are posted on the main thread only. No exceptions. If some code is running in another thread and it needs to post a notification, it does so on the main thread. […] Your notification handlers should be written so that they can deal with getting called … Continue reading How Not to Crash #3: NSNotification