Instance Methodswift 6.0.3FoundationEssentials
advanced(by:)
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
func advanced(by n: Int) -> AttributedString.Runs.Index
func advanced(by n: Int) -> AttributedString.Runs.Index
s20FoundationEssentials16AttributedStringV4RunsV5IndexV8advanced2byAGSi_tF
What are these?4DH40
import FoundationEssentials
struct Index
@dynamicMemberLookup struct AttributedString
struct Runs
@frozen struct Int
A signed integer value type.
static func < (lhs: AttributedString.Runs.Index, rhs: AttributedString.Runs.Index) -> Bool
static func == (lhs: AttributedString.Runs.Index, rhs: AttributedString.Runs.Index) -> Bool
func distance(to other: AttributedString.Runs.Index) -> Int