Skip navigation.
 
mlRe: NSNotifications & background apps?
FROM : Andrew Farmer
DATE : Sun Jun 15 23:29:21 2008

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."

Related mailsAuthorDate
mlNSNotifications & background apps? dream cat7 Jun 14, 21:52
mlRe: NSNotifications & background apps? Nathan Kinsinger Jun 14, 23:27
mlRe: NSNotifications & background apps? Jens Alfke Jun 15, 05:56
mlRe: NSNotifications & background apps? Michael Ash Jun 15, 06:20
mlRe: NSNotifications & background apps? dreamcat7 Jun 15, 12:18
mlRe: NSNotifications & background apps? Hamish Allan Jun 15, 21:38
mlRe: NSNotifications & background apps? Andrew Farmer Jun 15, 23:29