CLLocation

open class CLLocation : NSObject, NSCopying, NSSecureCoding

Represents a geographical coordinate along with accuracy, timestamp, and motion information. Apple Documentation

Properties

Additional Properties

NSSecureCoding Conformance

Initialization

Distance Calculation

NSCopying Conformance

  • Creates a copy of this CLLocation instance.

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any

NSSecureCoding Conformance

  • Initializes a CLLocation from an NSCoder.

    Declaration

    Swift

    public required init?(coder: NSCoder)
  • Encodes this CLLocation into an NSCoder.

    Declaration

    Swift

    public func encode(with coder: NSCoder)