title: UIActivityIndicatorView in cocos2d
body: <p><strong>Hi guys!</strong> <br>
  Currently discovering cocos2d framework. <br>Now I'm trying to use <strong>UIKit</strong> stuff in <strong>cocos2d</strong> project.</p>
  
  <p><strong>What I'm doing:</strong> I've added the methods:</p>
  
  <pre><code>    -(void)activityIndicatorRun {
          spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
          spinner.color = [UIColor orangeColor];
          spinner.hidesWhenStopped = YES;
          [spinner startAnimating];
          [self scheduleOnce:@selector(activityIndicatorStop) delay:5.0f];
      }
  </code></pre>
  
  <p><strong>AND</strong></p>
  
  <pre><code>-(void)activityIndicatorStop {
     [spinner stopAnimating];
  }
  </code></pre>
  
  <p>After I added this like of code to my <strong>init</strong> method:</p>
  
  <pre><code>[self scheduleOnce:@selector(activityIndicatorRun) delay:54];
  </code></pre>
  
  <p>I think that I need to add a subview to my view. But I'm not sure about how you can do this, and where. </p>
  
  <p><strong>Question:</strong> Can anyone help me?</p>
  
  <p><em>Thanks in advance!</em></p>