• 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: posted notifications are sent twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: posted notifications are sent twice


  • Subject: Re: posted notifications are sent twice
  • From: Reinhard Segeler <email@hidden>
  • Date: Mon, 31 May 2010 01:33:22 +0200

Hi Nick,

thank you very much. Your answer helped immediately. I initialized the responsible class in my code and added it later to a nib file, that was loaded also later...

Thanks

--  Reinhard

Am 30.05.2010 um 23:34 schrieb Nick Zitzmann:


On May 30, 2010, at 3:19 PM, Reinhard Segeler wrote:

I post notifications to interchange infos between classes. They are always
posted twice, even though they are surely only posted once. Does anybody
know why?

What do you mean by "posted twice"? Is the debugger breaking twice on the same observer after the notification is posted? If so, are you sure the object is the same twice ("self" has the same address when both breakpoints are hit)?


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

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: 
 >posted notifications are sent twice (From: Reinhard Segeler <email@hidden>)
 >Re: posted notifications are sent twice (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Which color space?
  • Next by Date: NSFormatter: get default values
  • Previous by thread: Re: posted notifications are sent twice
  • Next by thread: Re: posted notifications are sent twice
  • Index(es):
    • Date
    • Thread