Re: NSNotification center and multiple objects
Re: NSNotification center and multiple objects
- Subject: Re: NSNotification center and multiple objects
- From: Mike Abdullah <email@hidden>
- Date: Wed, 31 Jan 2007 20:16:49 +0000
Oh yeah, your selector is wrong :)
Mike.
On 31 Jan 2007, at 20:12, Keary Suska wrote:
on 1/31/07 12:55 PM, email@hidden purportedly said:
- (void)priorityDidChange {
NSLog(@"Controller recieved message that priority changed.");
}
I omitted out a few other things to simplify this a bit, but this is
pretty much the gist of it. The rest of my app code has work fine,
but
I recently needed to do something in my controller based on a change
in the manager objects. So I thought this approach would work. If I
register the Manager class as an observer to its self the same way,
it works. But the notifications are just not getting to the
controller. Any idea where I am approaching this wrong?
Your notification selector/method has incorrect syntax. Take a
closer look
at the documentation for the addObserver:selector:name:object: method.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40mikeabdullah.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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