• 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: Illegal NSTableView data source
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Illegal NSTableView data source


  • Subject: Re: Illegal NSTableView data source
  • From: Adam Leonard <email@hidden>
  • Date: Fri, 12 Jan 2007 17:11:59 -0800

Just implement both of the methods referenced in the assertion and return anything you want (probably 0 for numberOfRowsInTableView: and nil for tableView:objectValueForTableColumn:row:)

Bindings will still do its magic, everything will still work, and you will not get those errors.


Adam Leonard

On Jan 12, 2007, at 2:08 PM, Robert Cerny wrote:

Hi folks,
I have ann issue which is driving me nuts. I'm writing a small app, where I use bindings. I implemented a subclass of NSArrayController to support drag&drop into my tableview.
My problem is that the console started to report:
*** Illegal NSTableView data source (<DDArrayController: 0x35e6f0> [object class: RCTPath, number of selected objects: 0]). Must implement numberOfRowsInTableView: and tableView:objectValueForTableColumn:row:


Everything is working correctly but this error is very annoying.

Any idea?
Robert
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40caffeinatedcocoa.com


This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Illegal NSTableView data source
      • From: Robert Cerny <email@hidden>
References: 
 >Illegal NSTableView data source (From: Robert Cerny <email@hidden>)

  • Prev by Date: Re: NOT solved: using long double math functions like sinl() with Cocoa
  • Next by Date: Re: [Q] Cocoa event viewer?
  • Previous by thread: Illegal NSTableView data source
  • Next by thread: Re: Illegal NSTableView data source
  • Index(es):
    • Date
    • Thread