Re: -[NSImage length]: selector not recognized
Re: -[NSImage length]: selector not recognized
- Subject: Re: -[NSImage length]: selector not recognized
- From: Dan Saul <email@hidden>
- Date: Mon, 14 Mar 2005 11:01:32 -0600
Your problem is where you are trying to access the cells, comment it
out to see if the error still occurs, then do checking for the correct
type of cell.
On Mon, 14 Mar 2005 10:56:41 -0600, Chris Outwin <email@hidden> wrote:
> After checking the archive, I am still puzzled by "-[NSImage length]:
> selector not recognized" which appears twice in the Run Log when I
> try to load a file into a document-based, master/detail tableview app
> having NSArrayController bindings.
>
> I have dragged a NSImageCell to a tableview column where the image is
> supposed to appear (it doesn't on loading a file), but "length" in the
> error message is not something I associate with an image.
>
> My app allows the user to add a subclass of the model object by
> clicking in a matrix of NSButtons. I'm using NSArrayController's
> addObject: to add the subclass object to a mutable array in my
> document subclass.
>
> Does the addObject: method add a reference or a copy? Does addObject:
> need a retain? What is the best tool to determine the source of the
> error?
>
> Thank you very much.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden