Instance Methodswift 6.0.3FoundationEssentials
index(before:)
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
func index(before i: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index) -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index
func index(before i: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index) -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index
s20FoundationEssentials16AttributedStringV4RunsV16AttributesSlice4V5index6beforeAC5IndexVAK_tF
What are these?5JOJS
import FoundationEssentials
@preconcurrency struct AttributesSlice4<T, U, V, W> where T : AttributedStringKey, U : AttributedStringKey, V : AttributedStringKey, W : AttributedStringKey, T.Value : Sendable, U.Value : Sendable, V.Value : Sendable, W.Value : Sendable
@dynamicMemberLookup struct AttributedString
struct Runs
typealias Index = AttributedString.Index
var endIndex: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index { get }
var startIndex: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index { get }
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Element { get }
func index(after i: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index) -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index
func makeIterator() -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Iterator
struct Iterator
typealias Element = (T.Value?, U.Value?, V.Value?, W.Value?, Range<AttributedString.Index>)