Sunday, 8 September 2013

How to location a specific row to the top of a NSOutlineView?

How to location a specific row to the top of a NSOutlineView?

I want to location a row to the top of a NSOutlineView. What I find is
scrollRowToVisible:.But it only can location the row to the bottom of the
NSOutlineView.
My OutlineView'scrollView is using autolayout and the row height is
variable.So I don't want to get the scrollView'height by ite constraints
then do some calculate and use scrollRowToVisible: by plus the
calculate'result.
Any other ideas?

No comments:

Post a Comment