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