init(text:)
Initializes a text-based note with the specified content.
Declaration
init(text: String)Parameters
- text:
The text to include in the main content of the note.
Return Value
An initialized text note object or nil if the object could not be created.