IBInspectable not recognized when using NS_REFINED_FOR_SWIFT

Originator:Mathias.Nagler
Number:rdar://30509152 Date Originated:14-Feb-2017 09:42 AM
Status:Open Resolved:
Product:Xcode Product Version:8.2.1
Classification:Other Bug Reproducible:Always
 
Summary:
As soon as add NS_REFINED_FOR_SWIFT to a property that is also marked as IBInspectable, the Interface Builder will no longer recognize the property.

Steps to Reproduce:
1. Open the attached Xcode Project
2. Open Main.storyboard
3. Select the gray view labeled „SomeView“ 
4. Validate that Interface Builder shows „Constant“ in the Attributes Inspector
5. Select the gray view labeled „RefinedView“
6. It dows not display „Constant“ in the Attributes Inspector

Expected Results:
The Interface Builder displayes „Constant“ in the Attributes Inspector for RefinedView

Actual Results:
The Interface Builder does not display „Constant“ in the Attributes Inspector for RefinedView

Version:
Xcode 8.2.1, macOS 10.12.3

Notes:


Configuration:
Xcode 8.2.1, macOS 10.12.3, MacBook Pro 15" 2015, Swift 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!