IBInspectable should support enum values
Originator: | igeek1 | ||
Number: | rdar://18224964 | Date Originated: | 03-Sep-2014 10:44 PM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | Xcode 6.0 (6A280n) |
Classification: | Enhancement | Reproducible: | Not Applicable |
Summary: It would be useful to expose a property with some finite set of possible values that are selectable in IB. Steps to Reproduce: 1. Create a UIView subclass that draws a triangle. 2. Create a property called triangleDirection. 3. The type of this property is a TriangleDirection, with possible values TriangleDirectionUp, TriangleDirectionLeft, TriangleDirectionDown, and TriangleDirectionRight. 4. Make this property IBInspectable. 5. Try to adjust the property in IB. Expected Results: The property exposes a menu with all the options from my custom enumerated type. Actual Results: The property is not exposed in IB. Version: Xcode 6.0 (6A280n) Notes: Configuration: Attachments:
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!
+1
+1
+1
+1
dubbed.
+1
Posted a radar for apple to dup.
+1
This should be number one feature :)
I would also love to see this. +1