• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Newbie] Communication between two Views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: [Newbie] Communication between two Views? (From: julius <email@hidden>)
 >Re: [Newbie] Communication between two Views? (From: "I. Savant" <email@hidden>)
 >Re: [Newbie] Communication between two Views? (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Distributed Objects "connection went invalid while waiting for a reply"
  • Next by Date: Re: Transparent colors
  • Previous by thread: Re: [Newbie] Communication between two Views?
  • Next by thread: Re: [Newbie] Communication between two Views?
  • Index(es):
    • Date
    • Thread