• 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: What is _NSViewAuxiliary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >What is _NSViewAuxiliary? (From: Gregory Weston <email@hidden>)
 >Re: What is _NSViewAuxiliary? (From: "Ken Ferry" <email@hidden>)

  • Prev by Date: Re: NSInMemoryStoreType: Not really "persistent", is it?
  • Next by Date: Re: CALayer graphics context
  • Previous by thread: Re: What is _NSViewAuxiliary?
  • Next by thread: Yet another CALayer puzzle
  • Index(es):
    • Date
    • Thread