not enum , created by the Interface Builder runtime attribute. The Interface Interface Attributes Inspector does not display the following:
enum StatusShape:Int { case Rectangle = 0 case Triangle = 1 case Circle = 2 } @IBInspectable var shape:StatusShape = .Rectangle
From the documentation: You can attach the IBInspectable attribute to any property in a class declaration, class extension, or category for any type supported by Interface Builder runtime attributes: boolean, integer or floating point number, string, localized string, rectangle, dot, size, color, range and zero.
Q: How can I see enum in the attribute inspector of the Builder interface?
ios xcode swift interface-builder
SwiftArchitect Dec 11 '14 at 21:30 2014-12-11 21:30
source share