Structures
The following structures are available globally.
-
Undocumented
See moreDeclaration
Swift
public struct AttachmentSelectionStyle
-
Describes an image for which can be used in an
See moreAttachment
Declaration
Swift
public struct AttachmentImage : AttachmentViewIdentifying
-
Identifies an EditorCommand or a RendererCommand
See moreDeclaration
Swift
public struct CommandName : Hashable, Equatable, RawRepresentable
-
Undocumented
See moreDeclaration
Swift
public struct Gutter
-
Undocumented
See moreDeclaration
Swift
public struct LineNumberFormatting
-
Represents an item in the list. This structure may be used to create
See moreNSAttributedString
from items in an array ofListItem
. Alternatively,NSAttributedString
may also be parsed to get an array ofListItem
s.Declaration
Swift
public struct ListItem
-
Provides helper function to convert between
See moreNSAttributedString
and[ListItem]
Declaration
Swift
public struct ListParser
-
Simple numeric sequence generator.
See moreDeclaration
Swift
public struct NumericSequenceGenerator : SequenceGenerator
-
Simple bullet sequence generator that returns a diamond symbol.
See moreDeclaration
Swift
public struct DiamondBulletSequenceGenerator : SequenceGenerator
-
Simple bullet sequence generator that returns a square symbol.
See moreDeclaration
Swift
public struct SquareBulletSequenceGenerator : SequenceGenerator
-
A type-erased implementation of
See moreAttributesDecoding
Declaration
Swift
public struct AnyAttributeDecoding<EncodedType> : AttributesDecoding
-
Declaration
Swift
public struct AnyEditorContentDecoding<T, C> : EditorContentDecoding
-
Defines a content type for
See moreEditor
. This may be used to serialize the contents of anEditor
via enumerating through the contents of theEditor
.Declaration
Swift
public struct EditorContent
-
Describes opening and closing separators for
See moreEditorView
‘getFullAttributedText(:)
function.Declaration
Swift
public struct AttachmentContentIdentifier
-
Representation of a line of text in
EditorView
. A line is defined as a single fragment starting from the beginning of bounds ofEditorView
to the end. A line may have any number of characters based on the contents in theEditorView
.Note
A line does not represent a full sentence in theEditorView
but instead may start and/or end in the middle of another based on how the content is laid out in theEditorView
.Declaration
Swift
public struct EditorLine
-
Describes the formatting of a line of text. While general purpose in nature, this is used by
See moreEditorListFormattingProvider
for providing formatting for lists.Declaration
Swift
public struct LineFormatting
-
Declaration
Swift
public struct AnyEditorTextEncoding<T> : EditorTextEncoding
-
A type-erased implementation of
See moreAttachmentEncoding
.Declaration
Swift
public struct AnyEditorContentAttachmentEncoding<T> : AttachmentEncoding
-
Undocumented
See moreDeclaration
Swift
public struct GridColumnConfiguration
-
Undocumented
See moreDeclaration
Swift
public struct GridRowConfiguration
-
Undocumented
See moreDeclaration
Swift
public struct GradientColors
-
Undocumented
See moreDeclaration
Swift
public struct GridConfiguration
-
Style configuration for the grid
See moreDeclaration
Swift
public struct GridStyle