• 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: Predicting the fate on an Unarchive operation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Predicting the fate on an Unarchive operation


  • Subject: Re: Predicting the fate on an Unarchive operation
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 19 Oct 2004 22:49:43 +0200


On mardi, octobre 19, 2004, at 10:35 PM, Amar Sagoo wrote:

Could you do something like:
id decodedObject = [NSUnarchiver unarchiveObjectWithFile:myPath];

And then use [decodedObject class]?

Hum, yes. I was thinking there could be a problem since before unarchiving the file, I need to call [NSUnarchiver decodeClassName:asClassName:] but this will work if I call decodeClassName: with all the possible class names.

Thanks.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Re: Predicting the fate on an Unarchive operation (From: Amar Sagoo <email@hidden>)

  • Prev by Date: Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
  • Next by Date: NSUserDefaultsController and multiple sets of preferences?
  • Previous by thread: Re: Predicting the fate on an Unarchive operation
  • Next by thread: Grabbing "top level" nib objects in 10.2
  • Index(es):
    • Date
    • Thread