Hi Graham-- Thanks for the reply. Sorry about the thumbnail code. I was just trying to get all of my other crap out of the way. The problem is, the reloadData statement is throwing the error and
-(id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row -(void)tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(int)row are never even called! This is why this problem is annoying me so much. > > 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... Then the other probability is that 10.5 introduced a bug, which I strongly doubt. I'll just have to stare at the code another week and see if anything comes to mind. Thanks, Kevin ~Syntonica [kraken release]; --- On Thu, 7/23/09, Graham Cox <graham....@bigpond.com> wrote: > From: Graham Cox <graham....@bigpond.com> > Subject: Re: NSTableView: Out-Of-Bounds Array Error on reloadData > To: "syntonica" <synton...@yahoo.com> > Cc: cocoa-dev@lists.apple.com > Date: Thursday, July 23, 2009, 4:34 AM > > 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). > > > --Graham > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com