> On Jun 8, 2017, at 2:35 PM, Tony Allevato via swift-evolution 
> <[email protected]> wrote:
> 
> It is an extremely rare case for a developer to know a priori what literal 
> numeric indices should be used when indexing into a string, because it only 
> applies when strings fall into a very specific format and encoding.

Knowing this is required for accessibility support on macOS, since it’s needed 
to implement NSAccessibility methods such as 
accessibilityAttributedString(for:), accessibilityRTF(for:), 
accessibilityFrame(for:), etc.

Charles

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to