Other Type Aliases

The following type aliases are available globally.

  • The velocity (measured in meters per second) at which the device is moving.

    This is a compatibility shim to keep the library’s public interface consistent between Apple and non-Apple platforms that lack Core Location. On Apple platforms, you can use CLLocationSpeed anywhere you see this type.

    Declaration

    Swift

    public typealias LocationSpeed = CLLocationSpeed
  • The accuracy of a geographical coordinate.

    This is a compatibility shim to keep the library’s public interface consistent between Apple and non-Apple platforms that lack Core Location. On Apple platforms, you can use CLLocationAccuracy anywhere you see this type.

    Declaration

    Swift

    public typealias LocationAccuracy = CLLocationAccuracy
  • The velocity (measured in meters per second) at which the device is moving.

  • The accuracy of a geographical coordinate.

  • An image scale factor.

    Declaration

    Swift

    public typealias Scale = CGFloat
  • An image scale factor.