Re: What is _NSViewAuxiliary?
Re: What is _NSViewAuxiliary?
- Subject: Re: What is _NSViewAuxiliary?
- From: Gregory Weston <email@hidden>
- Date: Wed, 22 Oct 2008 12:20:25 -0400
On Oct 22, 2008, at 11:39 AM, Ken Ferry wrote:
On Wed, Oct 22, 2008 at 8:29 AM, Gregory Weston <email@hidden>
wrote:
I've got a view registered as an observer for a certain
notification, and very sporadically I see a message indicating that
in the course of trying to post a notification an exception is
raised because an instance of some class called _NSViewAuxiliary is
being sent the message corresponding to my notification handler.
It's a private class used in the implementation of NSView.
What this likely means is that your observer object was
deallocated, and that location in memory was reused for an object
that happened to be of class _NSViewAuxiliary.
There are a couple of different possible causes.
(1) The view was deallocated prematurely.
(2) You didn't remove the view as an observer of the notification
prior to the view's destruction.
Thanks. Turned about to be #2a: A mismatched between the object:
arguments when my instance registered itself as an observer and when
it removed itself.
Greg
_______________________________________________
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