The Problem
With String.Index.encodedOffset being deprecated, there's compiler warnings in various places throughout the codebase. We want to convert over to utf16offset while keeping the same functionality.
Documentation Reference:
https://developer.apple.com/documentation/swift/string/index
The Problem
With
String.Index.encodedOffsetbeing deprecated, there's compiler warnings in various places throughout the codebase. We want to convert over toutf16offsetwhile keeping the same functionality.Documentation Reference:
https://developer.apple.com/documentation/swift/string/index