Re: about notification exception....
Re: about notification exception....
- Subject: Re: about notification exception....
- From: Chris Hanson <email@hidden>
- Date: Sat, 7 Apr 2007 21:40:15 -0700
On Apr 7, 2007, at 5:11 AM, Jay wrote:
I have a custom View class in the main WIndow, and for the need of
communication with the AppController class in runtime. I use
NSNotification to post some notifications when the customerView
class has something happens in the view, and the AppController did
receive the notification,
however, I'm using a user-defined class to finishe some task when
the notification is received, regardless when I use it (either in
the notification handler selector or other selector called from this
one) I always get the following exception.
Exception raised during posting of notification. Ignored.
exception: *** +[PNFnode setScreenPoint:]: selector not recognized
My first guess at this is that your code is unclear on the distinction
between a class and instances of the class, so you're sending messages
to the class that are intended for an instance from within one of your
notification handlers.
-- Chris
_______________________________________________
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