• 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
View-based NSTableView strange scrolling behavior.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

View-based NSTableView strange scrolling behavior.


  • Subject: View-based NSTableView strange scrolling behavior.
  • From: Dmitriy Balakirev <email@hidden>
  • Date: Fri, 02 Nov 2012 04:14:57 +0400

Hi all!

I have view-based NSTableView with 10 columns. Each cell is NSTableCellView with NSTextField on it (default). Auto-layout is OFF. OSX 10.8.2.
Table has 1000 rows.  Datasource is AppDelegate with only one method:

- (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView {
    return 1000;
}

If the window with table view is big enough, when I scroll the table using keyboard arrow keys, selected line goes down off the screen (or up), then jumps up(down) and all over again. In other words - scroll is slow and jerky.
However, if I hit Home or End key - then scroll is fast and nice. Why that happens?

(This happens on Mac mini3,1 early 2009, 2Ghz Core 2 Duo, NVIDIA GeForce 9400, but I don't think what that issue related to hardware)
_______________________________________________

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: View-based NSTableView strange scrolling behavior.
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: App rejection due to app-sandboxing invalid entitlement
  • Next by Date: Re: View-based NSTableView strange scrolling behavior.
  • Previous by thread: Re: Logging out the IMP description
  • Next by thread: Re: View-based NSTableView strange scrolling behavior.
  • Index(es):
    • Date
    • Thread