I am interested in knowing whether I can expect the observing object's method to be pushed onto the stack before the posting object's method has been completed and removed.
views:
533answers:
2
+2
A:
Just bothered to look it up myself, shameful:
From the class reference: NSNotificationCenter posts all notifications synchronously
Also, if you prefer, you can use NSNotificationQueue to post notifications asynchronously
Corey Floyd
2009-06-17 00:53:13
+6
A:
The short answer is yes... "Regular notification centers deliver notifications on the thread in which the notification was posted. Distributed notification centers deliver notifications are delivered on the main thread".
However, Apple has docs on this very subject that you may find helpful, and from which the above quote was pulled:
Notification Programming Topics: Delivering Notifications to Particular Threads
Jarret Hardie
2009-06-17 00:54:33