Skip navigation.
 
mlRe: Weird coder problem
FROM : Joseph Jones
DATE : Mon Nov 25 20:43:27 2002

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_removed>>
> Date: Mon, 25 Nov 2002 08:19:20 -0800
> To: Cocoa Dev <<email_removed>>
> 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_removed>
> 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlWeird coder problem Joseph Jones Nov 25, 17:19
mlRe: Weird coder problem Joseph Jones Nov 25, 20:43
mlRe: Weird coder problem Joseph Jones Nov 25, 21:01
mlRe: Weird coder problem Vince DeMarco Nov 25, 23:33
mlRe: Weird coder problem Joseph Jones Nov 25, 23:54
mlSOLVED:Re: Weird coder problem Joseph Jones Nov 26, 00:03