• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: copyWithZone: -- selector not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: [Q] Detecting running processes
  • Next by Date: Recursive Calls increase the memory
  • Previous by thread: copyWithZone: -- selector not recognized
  • Next by thread: Re: copyWithZone: -- selector not recognized
  • Index(es):
    • Date
    • Thread