• 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: Sherm Pendley <email@hidden>
  • Date: Sat, 13 Jan 2007 08:30:57 -0500

Check in IB to make sure you haven't connected the table view's "dataSource" outlet. Since you're using bindings, the table view doesn't need a data source object. You might also have called "setDataSource:" in code somewhere.

sherm--

On Jan 13, 2007, at 2:25 AM, Robert Cerny wrote:

Well,
nothing against it. But I didn't have these methods implemented, everything worked and suddenly I get this error.


Robert

On 13.1.2007, at 2:11, Adam Leonard wrote:

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:
40mac.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

Web Hosting by West Virginians, for West Virginians: http://wv-www.net Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

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>)
 >Re: Illegal NSTableView data source (From: Adam Leonard <email@hidden>)
 >Re: Illegal NSTableView data source (From: Robert Cerny <email@hidden>)

  • Prev by Date: Re: NSPredicate and to-many relationships
  • Next by Date: Re: Illegal NSTableView data source
  • Previous by thread: Re: Illegal NSTableView data source
  • Next by thread: Re: Illegal NSTableView data source
  • Index(es):
    • Date
    • Thread