Important
Add an Important
callout to a playground or to the Quick Help for a symbol using the Important delimiter. Multiple Important
callouts in Quick Help appear in the description section in the same order as they do in the markup.
Use the callout to highlight information that can have adverse effects on the tasks a user is trying to accomplish.
Works with:
✓ Playgrounds
✓ Symbol documentation
Syntax
* | + | - Important: description
optional continuation of description
The description displayed in Quick Help for the important callout is created as described in Parameters Section.
Playground Example
/*:
- Important:
"The beginning is the most important part of the work."
\
–Plato
*/
Quick Help Example
/**
An example of using the important field
- Important:
"The beginning is the most important part of the work."
\
–Plato
*/
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2017-06-05