Re: NSNotifications & background apps?
Re: NSNotifications & background apps?
- Subject: Re: NSNotifications & background apps?
- From: Andrew Farmer <email@hidden>
- Date: Sun, 15 Jun 2008 14:29:21 -0700
On 15 Jun 08, at 03:18, dreamcat7 wrote:
- yes, thank you i have had a look. Its copyright of Tildesoft under
creative commons 1.0 liscence.
So i must attribude the following (1) line of sourcecode to
Tildesoft under the http://creativecommons.org/licenses/by/1.0/
And likely that the Meow tool did use this same method.
[[NSDistributedNotificationCenter defaultCenter] addObserver:self
selector:@selector(myNotificationHook:)
name:nil object:nil];
For what it's worth, you're under no obligation to give attribution
for this (although you'll certainly receive no complaints for doing
so). This is a documented behavior of NSNotificationCenter: "When nil,
the notification center doesn't use a notification's name to decide
whether to deliver it to the observer."
_______________________________________________
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