• 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
NSTreeController -setSelectionIndexPaths: calls scrollRowToVisible:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTreeController -setSelectionIndexPaths: calls scrollRowToVisible:


  • Subject: NSTreeController -setSelectionIndexPaths: calls scrollRowToVisible:
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 13 Feb 2011 21:33:35 +0000

Calling NStreeController setSelectionIndexPaths: causes the new selection to be scrolled into view.
IIRC, this is not the behaviour exhibited in NSArrayController with setSelectedObjects:

I cannot see any API to influence this (correct me, please, if I have missed it).

At present, as a workaround, I am subclassing NSOutlineView and conditionally shorting out -scrollRowToVisible.

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com







_______________________________________________

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

  • Prev by Date: Re: WebKit - javascript / DOM listeners only fire once
  • Next by Date: Re: Canceling NSInvocationOperation
  • Previous by thread: Re: WebKit - javascript / DOM listeners only fire once
  • Next by thread: Parsing PDF
  • Index(es):
    • Date
    • Thread