swift - How to document an @IBInspectable property in Xcode -
in custom uiview have property expose storyboard @ibinspectable
.
/** custom property documentation. */ @ibinspectable var myproperty: double = 2.5
is there way show documentation when user hovers cursor on field in attribute inspector? work built in elements , same property.
unfortunately looks can not prepare text presented such tool tip. @ least now.
i noticed if not explicitly put type (but assign default value instead) designable, filed not generated in attribute inspector.
Comments
Post a Comment