Re: Weird coder problem
Re: Weird coder problem
- Subject: Re: Weird coder problem
- From: Joseph Jones <email@hidden>
- Date: Mon, 25 Nov 2002 11:43:27 -0800
Well, strike one for Cut&Paste! Seems the example I pulled the code out of
assumed the superclass supported encodeWithCoder as well and called that.
However, I am sub'ing from NSObject, which does not natively support this
method.
Now, if I can just figure out why an Array I am archiving is blowing up
during unarchiving...
Thanx,
Joe
>
From: Joseph Jones <email@hidden>
>
Date: Mon, 25 Nov 2002 08:19:20 -0800
>
To: Cocoa Dev <email@hidden>
>
Subject: Weird coder problem
>
>
Hi,
>
>
I am trying to archive my data objects using the NSKeyedArchiver and am
>
running into a small difficulty. It seems that, when the system attempts to
>
archive my objects, I get the following error:
>
>
2002-11-25 08:13:45.019 DataTest[2858] *** -[ProjectItem encodeWithCoder:]:
>
selector not recognized
>
2002-11-25 08:13:45.020 DataTest[2858] Exception raised during posting of
>
notification. Ignored. exception: *** -[ProjectItem encodeWithCoder:]:
>
selector not recognized
>
>
Now, I have my objects implementing NSCoding, and both required methods do
>
exist (in fact, I pulled them out of the Apple docs).
>
>
This isn't the first time I have worked with archiving, but it is the first
>
time I have had any difficulties with it. Can anyone help me clear up this
>
error so that I can get this working?
>
>
Thanx,
>
Joe
>
_______________________________________________
>
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.
_______________________________________________
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.