• 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: "Ken Ferry" <email@hidden>
  • Date: Wed, 22 Oct 2008 08:39:47 -0700

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.

Search for NSZombieEnabled for some possible help debugging.

-Ken
_______________________________________________

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

  • Follow-Ups:
    • Re: What is _NSViewAuxiliary?
      • From: Gregory Weston <email@hidden>
References: 
 >What is _NSViewAuxiliary? (From: Gregory Weston <email@hidden>)

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