• 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 Singleton Help ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re Singleton Help ...


  • Subject: Re Singleton Help ...
  • From: Peter Hudson <email@hidden>
  • Date: Fri, 13 Mar 2009 12:49:38 +0000

I had a very similar situation using a singleton and found that I needed to remove it from the notification centre before the app died - or landed up with an odd side effect (main menu items in xCode would no longer respond to the mouse ).

I fixed it by getting the app delegate to respond to applicationShouldTerminate: and removed my singleton from the notification centre there. The menu problems went away.

PH
_______________________________________________

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


  • Follow-Ups:
    • Re: Re Singleton Help ...
      • From: Dave DeLong <email@hidden>
  • Prev by Date: Re: TXT Records with NSImages
  • Next by Date: NSPredicate & live filtering question
  • Previous by thread: Re: why can't I see my layer?
  • Next by thread: Re: Re Singleton Help ...
  • Index(es):
    • Date
    • Thread