Renamed Swift 3 ValueTranformer classes not appearing in Interface Builder's Value Transformer options drop down.
Originator: | markbridges9 | ||
Number: | rdar://33507838 | Date Originated: | 25/07/17 |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | 8.3.3 (8E3004b) |
Classification: | Bug | Reproducible: |
Summary: in Swift 3 the NSValueTranformer class has been renamed to ValueTransformer. Applying this name change caused the Value Transformer drop down in interface builder to exclude the class from the list. Leaving the superclass as NSValueTranformer keeps the class in the list; obviously, the code won't compile like this. Steps to Reproduce: Use the attached sample file in a Swift 3 macOS project. Expected Results: 'TransformerWithoutNS' Should be present in the list Observed Results: Only 'TransformerWithNS' is present in the list Version: macOS 10.12.6 (16G29) Xcode Version 8.3.3 (8E3004b) Notes: Note, TransformerWithoutNS still works if it's written into the dropdown field manually.
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!