On Jul 28, 2008, at 8:32 PM, I. Savant wrote:

[Using notifications is] certainly a way to accomplish one-way messaging "whenever it gets there", but it's not always appropriate. Notifications do not occur within the same run loop, so this method wouldn't work if you needed to, say, tell another controller to modify something before continuing to "the next step".

This is incorrect. Notifications are typically synchronous. They do not rely on the run-loop for delivery. The code which posts a notification does not proceed until all observers have received the notification.

(Notifications posted to a notification queue are an exception.)

Cheers,
Ken
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to