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

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -