title: Xcode 7 - Incompatible block pointer types
body: <p>This code worked fine in Xcode 6, but now won't compile in Xcode 7.
  Any ideas how to fix and why this is an issue in Xcode 7?</p>
  
  <blockquote>
    <p>Incompatible block pointer types sending 'void (^)(SKSpriteNode *__strong, NSUInteger, BOOL *)' to parameter of type 'void (^ _Nonnull)(SKNode * _Nonnull __strong, NSUInteger, BOOL * _Nonnull)'</p>
  </blockquote>
  
  <pre><code>[self.children enumerateObjectsUsingBlock:^(SKSpriteNode * node, NSUInteger idx,BOOL *stop)
  {
      float parallaxRatio = [(NSNumber *)node.userData[@"ParallaxRatio"] floatValue];
      CGPoint childVelocity = CGPointMultiplyScalar(self.velocity, parallaxRatio);
      CGPoint offset = CGPointMultiplyScalar(childVelocity, deltaTime);
      node.position = CGPointAdd(node.position, offset);
  }];
  </code></pre>