• 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: A String of Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A String of Problems


  • Subject: Re: A String of Problems
  • From: Herr Witten <email@hidden>
  • Date: Sun, 11 Jul 2004 11:46:21 -0400

This is the key to the archiving. Thank you very much!

On Jul 11, 2004, at 5:28 AM, Louis C. Sacha wrote:

Hello...

You probably need to override the classForCoder instance method and possible some of the related methods, since NSString is a class cluster and implements these methods in a way that causes strings to be archived as instances of the public classes (if I remember correctly).

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSObject.html#//apple_ref/doc/uid/20000050/ classForCoder

http://developer.apple.com/documentation/Cocoa/Conceptual/Archiving/ Tasks/codingobjects.html#//apple_ref/doc/uid/20000948/BAJJBCHI
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >A String of Problems (From: Herr Witten <email@hidden>)
 >Re: A String of Problems (From: "Louis C. Sacha" <email@hidden>)

  • Prev by Date: Re: A String of Problems
  • Next by Date: Runaway NSTextView bounds height
  • Previous by thread: Re: A String of Problems
  • Next by thread: RE: A String of Problems
  • Index(es):
    • Date
    • Thread