• 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: NSNotification center and multiple objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSNotification center and multiple objects (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: NSNotification center and multiple objects
  • Next by Date: Re: Best way to determine if a path is a directory?
  • Previous by thread: Re: NSNotification center and multiple objects
  • Next by thread: Best way to determine if a path is a directory?
  • Index(es):
    • Date
    • Thread