title: scrollViewDidScroll not getting called
body: <p>I have a <code>UIViewController</code> that is a delegate of a <code>UIScrollView</code> called <code>NumberLineScroll</code>. I have set the delegate of the scrollview to be the view controller, but I am not getting any calls to <code>scrollViewDidScroll:</code> whenever the scrollview is scrolled. Here's the implementation:</p>
  
  <p>The <code>UIViewController</code> header file (<code>Game</code>) :</p>
  
  <pre><code>@interface Game : UIViewController &lt;LocDelegate, UIScrollViewDelegate, ResultsDelegate&gt; {
      ... 
      NumberLineScroll* nline;
      ...
  }
  
  - (void)scrollViewDidScroll:(UIScrollView *)scrollView;
  - (UIView*)viewForZoomingInScrollView:(UIScrollView*)scrollView;
  - (void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale:(float)scale;
  - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView;
  - (void)scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView;
  </code></pre>
  
  <p>and the component of the main file where the methods are implemented:</p>
  
  <pre><code>- (void)viewDidLoad {
  
  ...
  nline = [[NumberLineScroll alloc] initWithFrame: CGRectMake(0, -50, 1024, 400)];
  [nline setScrollEnabled:YES];
  [nline setContentSize:CGSizeMake(4100, 400)];
  [self.view addSubview:nline];
  nline.delegate = self;
  nline.locDelegate = self; //this is for a Ball imageview that is implemented in NumberLineScroll
  ...
  
  }
  </code></pre>
  
  <p>and here's the implementation of the <code>UIScrollView</code> (<code>NumberLineScroll</code>):</p>
  
  <p>header file:</p>
  
  <pre><code>@interface NumberLineScroll : UIScrollView {
  
      NumberLine* nline;
      Ball* ball;
      id &lt;UIScrollViewDelegate&gt; delegate;
      id &lt;LocDelegate&gt; locDelegate;
  }
  
  @property(nonatomic, assign)id &lt;UIScrollViewDelegate&gt; delegate;
  @property(nonatomic, assign)id &lt;LocDelegate&gt; locDelegate;
  </code></pre>
  
  <p>There's nothing that's very relevant in the main file. The only programming in there that I do to affect the scrolling is turn the bounce off and to switch the scrolling off when the ball is being moved by the user, then on again when they finish. Also, the <code>locDelegate</code> isn't a problem since that works just fine. The main problem is that <code>NumberLineScroll</code> is making no delegate calls. Why is this?</p>
  
  <p>Also, the <code>NumberLine</code> view in <code>NumberLineScroll</code> is the contentview for the scrollview, just for clarification.</p>