• 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
-[NSImage length]: selector not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-[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


  • Follow-Ups:
    • Re: -[NSImage length]: selector not recognized
      • From: Dan Saul <email@hidden>
  • Prev by Date: Re: Dumb newbie question about objects and scalars
  • Next by Date: Re: mouseDown vs mouseDragged
  • Previous by thread: Re: Dumb newbie question about objects and scalars
  • Next by thread: Re: -[NSImage length]: selector not recognized
  • Index(es):
    • Date
    • Thread