Re: [Newbie] Communication between two Views?
Re: [Newbie] Communication between two Views?
- Subject: Re: [Newbie] Communication between two Views?
- From: "I. Savant" <email@hidden>
- Date: Mon, 28 Jul 2008 22:41:52 -0400
Ken:
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.
I stand corrected:
http://developer.apple.com/documentation/Cocoa/Conceptual/Notifications/Articles/NotificationCenters.html#
"A notification center delivers notifications to observers
synchronously. In other words, when posting a notification, control
does not return to the poster until all observers have received and
processed the notification. To send notifications asynchronously use a
notification queue ..."
It seems I need to review this guide as I rarely rely on this
mechanism for posting (only for receiving/responding). Thanks for
pointing that out!
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden