• 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
Weird NSTableView with checkboxes issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Weird NSTableView with checkboxes issue
      • From: Corbin Dunn <email@hidden>
    • Re: Weird NSTableView with checkboxes issue
      • From: Ashley Clark <email@hidden>
  • Prev by Date: Re: Custom modal panel, like NSSavePanel/NSOpenPanel
  • Next by Date: Re: Weird NSTableView with checkboxes issue
  • Previous by thread: Re: Array of Preferences
  • Next by thread: Re: Weird NSTableView with checkboxes issue
  • Index(es):
    • Date
    • Thread