-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I would like to understand why do we have
addNoteFromFileReference:
which has a complex logic in terms of metadata and addNoteNamed:
newFromFileReference: aFileReference
^ self new
folderReference: aFileReference parent;
fileName: aFileReference basename;
contents: aFileReference contents;
creationDate: aFileReference creationTime;
modificationDate: aFileReference modificationTime;
yourself
addNoteNamed: aString
"Add a new empty note with title aString to the receiver's notes."
| note |
note := NTNote content: aString.
self addNote: note.
^ note
Metadata
Metadata
Assignees
Labels
No labels