Weird NSTableView with checkboxes issue
Weird NSTableView with checkboxes issue
- Subject: Weird NSTableView with checkboxes issue
- From: Peter Zegelin <email@hidden>
- Date: Thu, 19 Mar 2009 16:12:55 +1100
I have an NSTableView in a sheet window. It has one column and a valid
dataSource and delegate. There are 128 rows. If I populate the view
with Textcells, sliders or popup button cells the tableview scrolls
normally, but if I populate the listbox with checkbox cells the
scrolling becomes extremely jerky. In the datasource
objectValueForTableColumn method I just do the following:
id)tableView:(NSTableView *)tableView objectValueForTableColumn:
(NSTableColumn *)tableColumn row:(int)row{
return [NSNumber numberWithInt:0];
}
my datasource/tableview is copied from another project that does
exactly the same thing and it scrolls just fine. The console/debugger
etc. show nothing is amiss.
Any suggestions what may be causing the problem?
Thanks!
Peter
_______________________________________________
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