• 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: Problem when archiving data: [_NSViewGState encodeWithCoder:] unrecognized selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem when archiving data: [_NSViewGState encodeWithCoder:] unrecognized selector


  • Subject: Re: Problem when archiving data: [_NSViewGState encodeWithCoder:] unrecognized selector
  • From: "Kyle Sluder" <email@hidden>
  • Date: Fri, 25 Jul 2008 21:59:32 -0400

On Fri, Jul 25, 2008 at 6:29 PM, JArod Wen <email@hidden> wrote:
> Since I didn't find any object in the data to be written has the type of
> NSViewGState, I am really confused about this error. Anyone can give me any
> suggestions?

This is usually a case of failing to retain an object you own.  If it
gets deallocated underneath your feet, an object of a different class
may wind up in the same place in memory, but your old pointers don't
know that.  Often, because of the way the compiler has generated your
code, it's consistently an object of a certain but completely
unrelated class.

--Kyle Sluder
_______________________________________________

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: Problem when archiving data: [_NSViewGState encodeWithCoder:] unrecognized selector
      • From: "Ken Ferry" <email@hidden>
References: 
 >Problem when archiving data: [_NSViewGState encodeWithCoder:] unrecognized selector (From: JArod Wen <email@hidden>)

  • Prev by Date: Re: Repositioning a content view w/in a window
  • Next by Date: Re: Repositioning a content view w/in a window
  • Previous by thread: Problem when archiving data: [_NSViewGState encodeWithCoder:] unrecognized selector
  • Next by thread: Re: Problem when archiving data: [_NSViewGState encodeWithCoder:] unrecognized selector
  • Index(es):
    • Date
    • Thread