×

Create Draft

iOS 14 +

Notes

Capture text as new draft

Syntax

capture(content: <#String (Allows Variables)#>, tags: <#Array#>, folder: <#Enumeration (DraftUpdateFolder)#>, isFlagged: <#Enumeration (DraftUpdateFlaggedStatus)#>, grammarType: <#Object (GrammarType)#>)

Example

capture(content: "Hello World!", tags: ["Jellycuts Drafts"], folder: inbox, isFlagged: flagged, grammarType: GrammarType(displayString: "Markdown", identifier: "Markdown")))