Xcode improperly states that WKInterfaceImage responds to CAAnimation methods

Originator:arthur
Number:rdar://20700069 Date Originated:25-Apr-2015
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.3
Classification:Serious Bug Reproducible:Always
 
When working with WKInterfaceImage, Xcode autocompletes and accepts as proper syntax the CAAnimation methods: animationDidStart: and animationDidStop:finished:. This is not documented behavior, nor do

Steps to Reproduce:
1. Open Xcode 6.3
2. Create a new playground or project
3. Execute the following code:

WKInterfaceImage.animationDidStart(CAAnimation())
WKInterfaceImage.animationDidStop(CAAnimation(), finished: true)


Expected Results:
Xcode should throw an error stating that these are undefined selectors for WKInterfaceImage.

Actual Results:
Xcode accepts those methods as being available to WKInterfaceImage.

Version:
Xcode 6.3

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!