title: Collection view cell animated tvOS
body: <p>I am trying to animate a collection view cell, this is my code so far</p>
  
  <pre><code>- (void)collectionView:(UICollectionView *)collectionView didUpdateFocusInContext:(UICollectionViewFocusUpdateContext *)context withAnimationCoordinator:(UIFocusAnimationCoordinator *)coordinator{
  
      UICollectionViewCell *nextFocusedCell = [collectionView dequeueReusableCellWithReuseIdentifier:@"VideoCell" forIndexPath:context.nextFocusedIndexPath];
      UICollectionViewCell *previousFocusedCell = [collectionView dequeueReusableCellWithReuseIdentifier:@"VideoCell" forIndexPath:context.previouslyFocusedIndexPath];
      if (context.nextFocusedView) {
          [coordinator addCoordinatedAnimations:^{
              [nextFocusedCell setFrame: CGRectMake(3, 14, 300, 300)];
          } completion:^{
              // completion
          }];
      } else if (context.previouslyFocusedView) {
          [coordinator addCoordinatedAnimations:^{
              [previousFocusedCell setFrame: CGRectMake(3, 14, 100, 100)];
          } completion:^{
              // completion
          }];
      }
  </code></pre>
  
  <p>But my code is not working. I've read the documentation and it says to implement something like
        if (self == contextFocusedView)...... but it has a warning saying that incompatible pointer View Controller to UIView. Could someone please tell me whats wrong with my code &amp; how to fix it? Thanks!!</p>