Structures

The following structures are available globally.

CLBeaconIdentityConstraint

CLError

  • Represents errors that can occur when using CoreLocation. This struct conforms to CustomNSError, Hashable, and Error. Apple Documentation

    See more

    Declaration

    Swift

    public struct CLError : CustomNSError, Hashable, Error
  • Represents a geographic coordinate in degrees. Apple Documentation

    See more

    Declaration

    Swift

    public struct CLLocationCoordinate2D : CustomDebugStringConvertible, CustomStringConvertible, Sendable
  • A structure that contains the location information the framework delivers with each update. Apple Documentation

    See more

    Declaration

    Swift

    public struct CLLocationUpdate

CNPostalAddress (Cross-Platform Alternative to Apple’s CNPostalAddress)

  • A cross-platform struct to represent a postal address in a Linux-compatible way.

    See more
  • A thread-safe, sendable representation of CLLocation. This struct is designed to encapsulate the key properties of CLLocation while ensuring it is safe to use in concurrent and isolated execution contexts.

    See more

    Declaration

    Swift

    public struct SendableCLLocation : Sendable, CustomStringConvertible, CustomDebugStringConvertible