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.

enter image description here

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

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -