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

Re: Weird NSTableView with checkboxes issue


  • Subject: Re: Weird NSTableView with checkboxes issue
  • From: Ashley Clark <email@hidden>
  • Date: Thu, 19 Mar 2009 02:50:00 -0500

On Mar 19, 2009, at 12:12 AM, Peter Zegelin wrote:

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?

On NSButton cells added to tables, the default is to have the scaling property set to "Proportionally Down". This *dramatically* slows the rendering speed of the table down. If you select the cell and set the scaling property to "None" you should see an improvement in rendering speed.



Ashley _______________________________________________

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


References: 
 >Weird NSTableView with checkboxes issue (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Re: Weird NSTableView with checkboxes issue
  • Next by Date: How do you store an NSArray as an attribute in a Core Data entity
  • Previous by thread: Re: Weird NSTableView with checkboxes issue
  • Next by thread: Re: Weird NSTableView with checkboxes issue
  • Index(es):
    • Date
    • Thread