addAnnotations(_:range:) Declarationfunc addAnnotations(_ annotations: [NSAttributedString.Key : String], range: NSRange) See AlsoInstance MethodsannotatedSubstring(forProposedRange:actualRange:)candidateListTouchBarItem()removeAnnotation(_:range:)replaceCharacters(in:withAnnotatedString:)selectAndShow(_:)setAnnotations(_:range:)view(for:firstRect:actualRange:)