• 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: NSNotificationCenter not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNotificationCenter not working


  • Subject: Re: NSNotificationCenter not working
  • From: Matt Jaffa <email@hidden>
  • Date: Wed, 31 Mar 2004 16:50:07 -0700

hmmm,

Why didn't I think of it,

Thanks a bunch,
Matt


On Mar 31, 2004, at 4:44 PM, m wrote:

On Mar 31, 2004, at 3:04 PM, Matt Jaffa wrote:

I have two apps running, one is my StartupDaemon and the other is a
System Preference plug-in I made,
When I click on this button I want it to send a notification, that the
Daemon can pick up on,

{he's trying to use [NSNotificationCenter defaultCenter]}

[NSNotificationCenter defaultCenter] is local to applications (it's not shared among processes). To do what you want look at NSDistributedNotificationCenter instead.

_murat
_______________________________________________
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.


References: 
 >NSNotificationCenter not working (From: Matt Jaffa <email@hidden>)
 >Re: NSNotificationCenter not working (From: m <email@hidden>)

  • Prev by Date: Re: NSNotificationCenter not working
  • Next by Date: [listmom] Re: Will email@hidden please unsubscribe
  • Previous by thread: Re: NSNotificationCenter not working
  • Next by thread: Re: NSNotificationCenter not working
  • Index(es):
    • Date
    • Thread