• 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
init'ing an NSNotificationQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

init'ing an NSNotificationQueue


  • Subject: init'ing an NSNotificationQueue
  • From: Neil Earnshaw <email@hidden>
  • Date: Wed, 3 Sep 2003 12:23:55 +0100

Each task has a default NSNotificationCenter and each thread has a default NSNotificationQueue. I want to use my own subclass of NSNotificationCenter in my app in conjunction with an NSNotificationQueue. Does anyone know if I can switch the default queue's center by calling:

[[NSNotificationQueue defaultQueue] initWithNotificationCenter:myNotificationCenter];

or do I have to create a fresh notification queue?

I don't want to disrupt the normal Cocoa notification mechanisms. Do they use the defaultQueue?

-Neil

Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
email@hidden
Tel : 01747 854 852
Mbl : 07870 209 102
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Frameworks (dylib) Within The App Bundle
  • Next by Date: Re: Loading of NSWindows during awakeFromNib
  • Previous by thread: Re: NSFileWrapper limitation
  • Next by thread: AppleScript "call method" (not an AS Studio app)
  • Index(es):
    • Date
    • Thread