AI-generated Key Takeaways
-
GooglePlacesAttributes is a struct that serves as an attribute scope for Google Places data.
-
It includes an AutocompleteMatchAttribute enum for handling autocomplete results.
-
Both decoding and encoding configurations for GooglePlacesAttributes utilize AttributeScopeCodableConfiguration.
-
The
autocompleteMatchproperty provides access to attributes related to autocomplete matches.
GooglePlacesAttributes
struct GooglePlacesAttributesextension AttributeScopes.GooglePlacesAttributes : AttributeScope, DecodingConfigurationProviding, EncodingConfigurationProviding-
Declaration
Swift
enum AutocompleteMatchAttributeextension AttributeScopes.GooglePlacesAttributes.AutocompleteMatchAttribute : AttributedStringKey, DecodableAttributedStringKey, EncodableAttributedStringKey, MarkdownDecodableAttributedStringKey -
Declaration
Swift
@available(watchOS, introduced: 8) @available(macOS, introduced: 12) @available(iOS, introduced: 15) @available(tvOS, introduced: 15) typealias DecodingConfiguration = AttributeScopeCodableConfiguration -
Declaration
Swift
@available(watchOS, introduced: 8) @available(macOS, introduced: 12) @available(iOS, introduced: 15) @available(tvOS, introduced: 15) typealias EncodingConfiguration = AttributeScopeCodableConfiguration -
Declaration
Swift
let autocompleteMatch: AttributeScopes.GooglePlacesAttributes.AutocompleteMatchAttribute