loom & weft
Made for Swift.

Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.

LOOM Unreleased (PR #2) / ADDITIONAL WIDGETS AND TEXT

BorderSymbols

Validated single-cell border glyphs, including junctions for explicit border layers.

Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.

Members on this page

Feature guides and release status

BorderSymbols

Structure
struct BorderSymbols

Conforms to: Swift.Sendable, Swift.SendableMetatype.

Validated single-cell border glyphs, including junctions for explicit border layers.

Source · BorderSymbols.swift:2

horizontal

Instance Property
let horizontal: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:3

vertical

Instance Property
let vertical: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:4

topLeft

Instance Property
let topLeft: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:5

topRight

Instance Property
let topRight: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:6

bottomLeft

Instance Property
let bottomLeft: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:7

bottomRight

Instance Property
let bottomRight: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:8

topJunction

Instance Property
let topJunction: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:9

bottomJunction

Instance Property
let bottomJunction: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:10

leftJunction

Instance Property
let leftJunction: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:11

rightJunction

Instance Property
let rightJunction: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:12

cross

Instance Property
let cross: String

A public field of this type. Its value type and mutability are shown in the declaration.

Source · BorderSymbols.swift:13

ValidationError

Enumeration
enum ValidationError

Conforms to: Swift.Error, Swift.Sendable, Swift.SendableMetatype.

A supplied custom border glyph failed printable single-cell validation.

Source · BorderSymbols.swift:15

ValidationError.invalidSymbol(_:)

Case
case invalidSymbol(String)

The invalid symbol case. Associated values, if any, are shown in the declaration.

Source · BorderSymbols.swift:15

init(horizontal:vertical:topLeft:topRight:bottomLeft:bottomRight:topJunction:bottomJunction:leftJunction:rightJunction:cross:)

Initializer Throws
init(horizontal: String, vertical: String, topLeft: String, topRight: String, bottomLeft: String, bottomRight: String, topJunction: String = "+", bottomJunction: String = "+", leftJunction: String = "+", rightJunction: String = "+", cross: String = "+") throws

Creates a value with the supplied arguments. Default arguments are shown in the declaration.

Parameters (11)
horizontal
Argument type and any default are shown in the declaration; see the behavior notes above.
vertical
Argument type and any default are shown in the declaration; see the behavior notes above.
topLeft
Argument type and any default are shown in the declaration; see the behavior notes above.
topRight
Argument type and any default are shown in the declaration; see the behavior notes above.
bottomLeft
Argument type and any default are shown in the declaration; see the behavior notes above.
bottomRight
Argument type and any default are shown in the declaration; see the behavior notes above.
topJunction
Argument type and any default are shown in the declaration; see the behavior notes above.
bottomJunction
Argument type and any default are shown in the declaration; see the behavior notes above.
leftJunction
Argument type and any default are shown in the declaration; see the behavior notes above.
rightJunction
Argument type and any default are shown in the declaration; see the behavior notes above.
cross
Argument type and any default are shown in the declaration; see the behavior notes above.
Source · BorderSymbols.swift:17