inputIndex(forResultIndex:)
Category: Instance Method
Platforms: iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 26.0+, visionOS 26.0+, watchOS 26.0+
Overview
Maps a location in the resultString to where it came from in the input string.
Declaration
func inputIndex(forResultIndex resultIndex: String.Index) -> String.Index?
Details
- Accessibility
- AXBrailleTranslationResult
- inputIndex(forResultIndex:)
input Index(for Result Index:)
Code Examples
func inputIndex(forResultIndex resultIndex: String.Index) -> String.Index?