Contents

autocorrectedRanges

An array of ranges that identify text the system autocorrects, relative to the context string.

Declaration

var autocorrectedRanges: [NSValue] { get set }

Discussion

The context string is the concatenation of the initializer parameters contextBefore, markedText (or selectedText when marked text is empty), and contextAfter. For more information, see init(attributedSelectedText:contextBefore:contextAfter:markedText:selectedRangeInMarkedText:).