GooglePlacesSwift Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Key
extension NSAttributedString.Key
-
Declaration
Swift
static let autocompleteMatch: NSAttributedString.Key
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eautocompleteMatch\u003c/code\u003e attribute is used for highlighting match fragments within the \u003ccode\u003eattributedFullText\u003c/code\u003e property of an \u003ccode\u003eAutocompletePlaceSuggestion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis attribute is associated with the \u003ccode\u003eAutocompletePlaceSuggestion\u003c/code\u003e struct and helps in visually representing the matching portions of a place suggestion.\u003c/p\u003e\n"],["\u003cp\u003eThe declaration of this attribute is \u003ccode\u003estatic let autocompleteMatch: NSAttributedString.Key\u003c/code\u003e, indicating it's a key within the \u003ccode\u003eNSAttributedString.Key\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The core content defines `autocompleteMatch` as an attribute name within `NSAttributedString.Key`. This attribute is used to identify match fragments within the `attributedFullText` of an `AutocompletePlaceSuggestion`. It is a static constant of type `NSAttributedString.Key` and is directly related to the `AutocompletePlaceSuggestion` structure. It helps to identify sections of a text that match a given autocomplete suggestion.\n"],null,["# GooglePlacesSwift Framework Reference\n\nKey\n===\n\n extension NSAttributedString.Key\n\n- `\n ``\n ``\n `\n\n ### [autocompleteMatch](#/s:So21NSAttributedStringKeya17GooglePlacesSwiftE17autocompleteMatchABvpZ)\n\n `\n ` \n Attribute name for match fragments in [AutocompletePlaceSuggestion](../../Structs/AutocompletePlaceSuggestion.html) attributedFullText.\n\n @related AutocompletePlaceSuggestion \n\n #### Declaration\n\n Swift \n\n static let autocompleteMatch: NSAttributedString.Key"]]