Re: copyWithZone: -- selector not recognized
Re: copyWithZone: -- selector not recognized
- Subject: Re: copyWithZone: -- selector not recognized
- From: Matt Neuburg <email@hidden>
- Date: Tue, 4 Jun 2002 11:30:50 -0700
On Tue, 4 Jun 2002 15:43:54 +0300, "Cristian Savu" <email@hidden> said:
>
I have a table view and in : tableView:objectValueForTableColumn:row
>
I'm trying to return an element
>
like this:
>
return itemObj ; //where itemObj is an RSItemObject
>
>
Can anyone tell me what am I doing wrong because I'm receiving the
>
following error message :
>
>
>> [RSItemObject copyWithZone : ] : selector not recognized
>
and I really don't know what might be wrong !
The message tells you exactly what's wrong; you're returning something that
the table view has no way of knowing how to make a copy of. Anyhow, you
probably wanted to return something like an NSString; how is a table going
to display an itemObj? m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.