# Classes

The following classes are available globally.
- `


  ### [PlaceDetailsResult](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Classes/PlaceDetailsResult)


  ` The place details UI widget result.

  #### Declaration

  Swift

      final class PlaceDetailsResult

      extension PlaceDetailsResult : ObservableObject

- `


  ### [PlaceMarkerHostingView](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Classes/PlaceMarkerHostingView)


  ` A `UIView` subclass that hosts a SwiftUI `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceMarker` inside a `UIHostingController`
  and dynamically sizes itself for use as a `GMSMarker.iconView`.

  #### Declaration

  Swift

      @MainActor
      @objc
      final class PlaceMarkerHostingView

      extension PlaceMarkerHostingView : CALayerDelegate, CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable

- `


  ### [PlacesClient](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Classes/PlacesClient)


  ` Main interface to the Places SDK, used for searching and getting details about places.

  This type should be accessed through `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Classes/PlacesClient#/s:17GooglePlacesSwift0B6ClientC6sharedACvpZ`.

  `PlacesClient` methods should only be called from the main thread. Calling these methods from
  another thread will result in an exception or undefined behavior.

  #### Declaration

  Swift

      final class PlacesClient

      extension PlacesClient : https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Protocols/PlacesClientProtocol, Sendable, SendableMetatype