title: Weird index out of bounds exception
body: <p>I am trying to animate the deletion of a view inside a scrollView. the scrollView's subviews are being populated out of an array of objects. each object has a view representing it. sometimes i get an indexOutOfBounds exception when i delete. this is my code of deletion:</p>
  
  <pre><code>-(void)deleteView:(UIView *)viewToDelete{
      [self.myObjects removeObjectAtIndex:viewToDelete.tag];
      [UIView animateWithDuration:0.5 animations:^{
          viewToDelete.alpha = 0.0;
          for (NSInteger index = viewToDelete.tag+1; index&lt;self.myViews.count; index++){
              UIView *view = [self.myViews objectAtIndex:index];
              view.center = CGPointMake(view.center.x,view.center.y-viewToDelete.frame.size.height);
          }
      }]; completion:^(BOOL finished) {
          [view removeFromSuperview];
      }];
  
      [self.myViews removeObjectAtIndex:viewToDelete.tag];
      for (NSInteger index=0; index&lt;self.myVies.count; index++){
          UIView *view = [self.myViews objectAtIndex:index];
          view.tag = index;
      }
  
  }
  </code></pre>