title: How do i wait until an animation in a different class is finished before continuing?
body: <p>I have the simple code of:</p>
  
  <pre><code>[otherClass doMethodOneWhichHasAnimation];
  </code></pre>
  
  <p>and that animation lasts 0.8 seconds. Followed by code that pushes a viewcontroller:</p>
  
  <pre><code>SchemeView *schemeView = [[SchemeView alloc] init];
      [self.navigationController pushViewController:schemeView animated:YES];
      [schemeView release];
  </code></pre>
  
  <p>The problem is, it pushes the viewcontroller without waiting, and I'd like it to wait. Doing delay just delays the whole thing, including the first animation from starting.</p>
  
  <p>How can i get it to wait the 0.8 seconds before running the second bit of code?</p>