title: NSScrollView detect scroll position
body: <p>How can i detect scroll of position when the scroll at bottom?</p>
  
  <pre><code>[[_scrollView contentView] setPostsBoundsChangedNotifications:YES];
  [[NSNotificationCenter defaultCenter] addObserver:self
                                           selector:@selector(boundsDidChangeNotification:)
                                               name:NSViewBoundsDidChangeNotification
                                             object:[_scrollView contentView]];
  
  
  
  
  
  - (void) boundsDidChangeNotification: (NSNotification *) notification
  {
      NSPoint currentScrollPosition = [[_scrollView contentView] bounds].origin;
  }
  </code></pre>