title: NSScrollview scrollPoint doesnt scroll to point
body: <p>I'm trying for 2 hours now to get my scrollview to scroll a specific point. Its frustrating and I cant tell you why it wont work.</p>
  
  <p>I have a scrollview and in it is a NSClipView. 
  They are getting created in my AppDelegate right before my scrollPoint.</p>
  
  <p>but either </p>
  
  <pre><code>[myclipview scrollPoint:NSMakePoint(1000.0, 0.0)];
  </code></pre>
  
  <p>works, neither</p>
  
  <pre><code>[[self.scrollView documentView] scrollPoint:NSMakePoint(1000.0, 0.0)];
  </code></pre>
  
  <p>(I want it to scroll all the way to the right,but not with any flip method or sth.)</p>
  
  <p>Found this question
  <a href="https://stackoverflow.com/questions/13326617/why-is-nsscrollview-documentview-scrollpoint-not-working-in-loadview-method">Why is [[NSScrollView documentView] scrollPoint:] not working in loadView method?</a></p>
  
  <p>And did not help me, I dont try it in the loadView method either. scrollView and myclipview arent nil either. Any tips for me? The scrollview works fine except it wont scroll to my position.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>just to be shure, i made this small test project:</p>
  
  <pre><code>NSScrollView* myscrollview = [[NSScrollView alloc] initWithFrame:NSMakeRect(0, 0, 200, 200)];
  NSClipView* myclipview = [[NSClipView alloc] initWithFrame:NSMakeRect(0, 0, 500, 400)];
  [myscrollview setHasVerticalScroller:YES];
  [myscrollview setHasHorizontalScroller:YES];
  [myscrollview setDocumentView:myclipview];
  
  [[myscrollview documentView] scrollPoint:NSMakePoint(400, 300)];
  
  [self.window.contentView addSubview:myscrollview];
  </code></pre>
  
  <p>and it doesnt scroll anywhere, i think i'm missing something here...?</p>