• 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: Bogus Illegal Datasource Warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bogus Illegal Datasource Warning


  • Subject: Re: Bogus Illegal Datasource Warning
  • From: Wim Lewis <email@hidden>
  • Date: Wed, 15 Feb 2012 17:01:11 -0800

> I get this warning:
>
> *** Illegal NSTableView data source (<NSScrollView: 0x19e0b00>).  Must implement numberOfRowsInTableView: and tableView:objectValueForTableColumn:row:
>
> even though I have implemented numberOfRowsInTableView and tableView:objectValueForTableColumn:row: and I know this to be true because they are called.

If you set a breakpoint on NSLog(), you should be able to stop the program at the point it is emitting that message. Then you can look up the stack in the debugger and hopefully discover what object has an NSScrollView as a data source. My guess is that either:
   - the warning is coming from a different NSTableView (or subclass of NSTableView) than you think it is, or
   - the original data source has been accidentally deallocated and an NSScrollView was allocated at the address it used to have



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: Bogus Illegal Datasource Warning (From: Matt Neuburg <email@hidden>)
 >Re: Bogus Illegal Datasource Warning (From: koko <email@hidden>)
 >Re: Bogus Illegal Datasource Warning (From: email@hidden)
 >Re: Bogus Illegal Datasource Warning (From: koko <email@hidden>)

  • Prev by Date: Re: Bogus Illegal Datasource Warning
  • Next by Date: Re: Bogus Illegal Datasource Warning
  • Previous by thread: Re: Bogus Illegal Datasource Warning
  • Next by thread: Re: Bogus Illegal Datasource Warning
  • Index(es):
    • Date
    • Thread