-
Cast constructor, converting any binary integer to a
TextBoundary.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
Boundary is the boundary between characters (including non-printing characters)
Declaration
Swift
static let char: AtkTextBoundary -
Boundary is the start (i.e. first character) of a word.
Declaration
Swift
static let wordStart: AtkTextBoundary -
Boundary is the end (i.e. last character) of a word.
Declaration
Swift
static let wordEnd: AtkTextBoundary -
Boundary is the first character in a sentence.
Declaration
Swift
static let sentenceStart: AtkTextBoundary -
Boundary is the last (terminal) character in a sentence; in languages which use “sentence stop” punctuation such as English, the boundary is thus the ‘.’, ‘?’, or similar terminal punctuation character.
Declaration
Swift
static let sentenceEnd: AtkTextBoundary -
Boundary is the initial character of the content or a character immediately following a newline, linefeed, or return character.
Declaration
Swift
static let lineStart: AtkTextBoundary -
Boundary is the linefeed, or return character.
Declaration
Swift
static let lineEnd: AtkTextBoundary
View on GitHub
Install in Dash
TextBoundary Extension Reference