title: Programmatically scroll NSScrollView to the right
body: <p>Everything is in the title; I want to programmatically scroll an <code>NSScrollView</code> to the right so I can see the end of my document.</p>
  
  <p>I tried this :</p>
  
  <pre><code>let width = scrollView.frame.size.width
  let height = scrollView.frame.size.height
  let toRight = CGRectMake(width, 0, width, height)
  scrollView.scrollRectToVisible(toRight)
  </code></pre>
  
  <p>But it didn't do anything.</p>
  
  <p>Any help would be appreciated !</p>