NSNotificationCenter not working
NSNotificationCenter not working
- Subject: NSNotificationCenter not working
- From: Matt Jaffa <email@hidden>
- Date: Wed, 31 Mar 2004 16:04:03 -0700
Hi,
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,
except it is not working right.
Sender:
[[NSNotificationCenter defaultCenter]
postNotificationName:@"com.mf.inverton" object:nil];
Receiver:
[[NSNotificationCenter defaultCenter] addObserver:callbacks
selector:@selector(invertOn)
name:@"com.mf.inverton" object:nil];
The observer is a custom Obj-C class I made, and is working. But not
the notification receiving part of it.
Anything seem wrong with this?
Thanks,
Matt
_______________________________________________
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.