init(text:)
Initializes a new label object with a text string.
Declaration
convenience init(text: String?)Parameters
- text:
The text to use to initialize the label node.
Return Value
An initialized label object.
Discussion
The label node’s font is set to Helvetica Neue Ultra Light, 32 point.