Merge pull request #2134 from maicki/MSFixWarningASCALayerExtendedDelegate

Fix compiler warning in Xcode 8
This commit is contained in:
Michael Schneider
2016-08-24 16:09:11 -07:00
committed by GitHub

View File

@@ -96,7 +96,8 @@
CGRect oldBounds = self.bounds;
[super setBounds:bounds];
self.asyncdisplaykit_node.threadSafeBounds = bounds;
[self.delegate layer:self didChangeBoundsWithOldValue:oldBounds newValue:bounds];
[(id<ASCALayerExtendedDelegate>)self.delegate layer:self didChangeBoundsWithOldValue:oldBounds newValue:bounds];
} else {
[super setBounds:bounds];
self.asyncdisplaykit_node.threadSafeBounds = bounds;