title: Understanding ios UIView animation block and dispatch_async(dispatch_get_main_queue) block
body: <p>I am trying to get a better understanding of this topic. Lets say I want to do some really cool animation like the following </p>
  
  <pre><code>- (void)coolAnimation 
  {
      [UIView animateWithDuration: some duration
                       animations:^{ some animation }];
  }
  </code></pre>
  
  <p>Since its an animation block, does it automatically added to the main_queue ? Or for best practice, I should always add the UI updates into the main_queue like the following.</p>
  
  <pre><code>dispatch_async(dispatch_get_main_queue(), ^{
      [self coolAnimation];
  });
  </code></pre>