Re: id type in NSCoder
Re: id type in NSCoder
- Subject: Re: id type in NSCoder
- From: Ian McGregor <email@hidden>
- Date: Wed, 17 Dec 2003 23:37:33 -0800
Hi Scott,
I have been bashing at this for a few hours now... and, as usual I
think you are right. This SHOULD be working. I just proved it to myself
by placing some NSLog's in there:
NSLog(@"decode: fieldValue class is %@",[fieldValue class]);
and
NSLog(@"encode: fieldValue class is %@",[fieldValue class]);
and they are both displaying the correct classes, with the exception of
a few (null)'s... I wonder if these (nulls) might might be the issue!
For example, I set fieldValue as an NSNumber and got
On 17-Dec-03, at 11:07 PM, Scott Anguish wrote:
>
how do you mean it isn't working?
>
>
id just tells the compiler that you're not sure what you'll be
>
using... when the object is encoded, it should just handle it.
_______________________________________________
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.