One Logo Pool Ball
Foundation · IOS API REFERENCE

AttributedString.MarkdownSourcePosition

struct · iOS 16.0+ · SDK 27.1

struct MarkdownSourcePosition

A type that describes the position of a character in terms of line and column numbers in a Markdown source string.

Members (5)

get · iOS 16.0+

startColumn

TypeScript
get startColumn(): number
Swift declaration
let startColumn: Int

The column number of the first character of the range. The column number is 1-based.

get · iOS 16.0+

endLine

TypeScript
get endLine(): number
Swift declaration
let endLine: Int

The line number of the last character of the range. The line number is 1-based.

get · iOS 16.0+

endColumn

TypeScript
get endColumn(): number
Swift declaration
let endColumn: Int

The column number of the last character of the range. The column number is 1-based.

init · iOS 16.0+

init

TypeScript
static init(startLine: number, startColumn: number, endLine: number, endColumn: number): AttributedString_MarkdownSourcePosition
Swift declaration
init(startLine: Int, startColumn: Int, endLine: Int, endColumn: Int)

Creates a Markdown source position with the specified line and column values. - Parameters: - startLine: The line number of the first character of the range. - startColumn: The column number of the first character of the range. - endLine: The line number of the last character of the range. - endColumn: The column number of the last character of the range.

get · iOS 16.0+

startLine

TypeScript
get startLine(): number
Swift declaration
let startLine: Int

The line number of the first character of the range. The line number is 1-based.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →