Re: Predicting the fate on an Unarchive operation
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