Fix compiler warning in Xcode 8

This commit is contained in:
Michael Schneider
2016-08-24 15:54:20 -07:00
parent 7099c4fcdc
commit 370d0597df

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;