• 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: Out-Of-Bounds Array Error on reloadData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView: Out-Of-Bounds Array Error on reloadData


  • Subject: Re: NSTableView: Out-Of-Bounds Array Error on reloadData
  • From: Graham Cox <email@hidden>
  • Date: Thu, 23 Jul 2009 21:34:07 +1000


On 23/07/2009, at 4:53 PM, syntonica wrote:

The entryArray is, of course, the dataSource for the tableView.


No it's not, if <entryArray> is an NSArray or related. NSArray does not implement NSTableDataSource. Your (controller) code must implement that, maybe by using or referencing an array. If <entryArray> is the controller, we need to see it. (and, as an aside, it's badly named).

I am assuming I am hitting a bug in 10.4 that was fixed in 10.5, but for the life of me, I cannot figure out what it may be. Recompiling in 10.5 does not give me any clues.

So show us the real datasource code. The -awakeFromNib snippet tells us nothing useful. Your assumption is very unlikely to be the case, since thousands of tables have been working since the release of Leopard without a hoard of angry developers clamouring for blood...


--Graham


_______________________________________________

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: Out-Of-Bounds Array Error on reloadData
      • From: syntonica <email@hidden>
References: 
 >NSTableView: Out-Of-Bounds Array Error on reloadData (From: syntonica <email@hidden>)

  • Prev by Date: Screen Saver test button click notification
  • Next by Date: Re: iPhone List? - few questions
  • Previous by thread: Re: NSTableView: Out-Of-Bounds Array Error on reloadData
  • Next by thread: Re: NSTableView: Out-Of-Bounds Array Error on reloadData
  • Index(es):
    • Date
    • Thread