Initializes a note object with the specified contents and attributes.
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
The title text for the note. This string represents the initial text that users see for the note in your interface.
The main content of the note. Use this parameter to specify the text and images that the note contains.
The container in which the note resides. For example, if your app organizes notes into named folders, use this property to specify the name of the folder.
The date on which the note was created.
The date on which the note was last modified.
A unique identifier that you associate with the note internally.
An initialized note object or
nil if the object could not be created.