-[NSImage length]: selector not recognized
-[NSImage length]: selector not recognized
- Subject: -[NSImage length]: selector not recognized
- From: Chris Outwin <email@hidden>
- Date: Mon, 14 Mar 2005 10:56:41 -0600
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