• 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: NSTableView _dataSourceValueForColumn:row: failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView _dataSourceValueForColumn:row: failure


  • Subject: Re: NSTableView _dataSourceValueForColumn:row: failure
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 11 Mar 2010 11:11:15 -0600

On 11 Mar 2010, at 9:38 AM, Alexander Bokovikov wrote:

> I have a table view in the "main" window, where it works fine. And have yet another very similar table view in a popup modal panel. where it fails immediately after panel is closed. Debugger shows subj, as the failure point. In both cases dataSource for table view is assigned in the IB statically.

1. You don't say what "fail" means. A crash? What error code? What stack trace?

2. This is all moot, because, as the leading underscore shows, _dataSourceValueForColumn:row: is a private method. It is not meant to be called by anyone but Apple. It is likely that only Apple knows what the preconditions and postconditions for calling it are; and they can change those conditions at any time.

I Googled _dataSourceValueForColumn:. Have you noticed that virtually all the hits have titles like "Arbitrary Crashes," "Bug," "Consistently crashes," "issue," "crashes everytime," "Crash in my... data source?"

3. Now that I re-read your message, you don't say whether you're implementing _dataSourceValueForColumn:row: or calling it; or even whether you're using it at all. Even if you're just implementing it, the principle holds: You don't know what the method is required to do, and you don't know what it will be required to do in 10.6.3. (Note for archives: The current version of Mac OS X is 10.6.2.)

What are you trying to accomplish, and why do you think it cannot be done with supported API?

	— F

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: NSTableView _dataSourceValueForColumn:row: failure
      • From: "Alexander Bokovikov" <email@hidden>
References: 
 >NSTableView _dataSourceValueForColumn:row: failure (From: Alexander Bokovikov <email@hidden>)

  • Prev by Date: Re: [[Class alloc] init] preferable over [[Class instance] retain]?
  • Next by Date: Re: NSTableView _dataSourceValueForColumn:row: failure
  • Previous by thread: NSTableView _dataSourceValueForColumn:row: failure
  • Next by thread: Re: NSTableView _dataSourceValueForColumn:row: failure
  • Index(es):
    • Date
    • Thread