CLLocationCoordinate2D
extension CLLocationCoordinate2D: Codable
extension CLLocationCoordinate2D: Equatable
                Add Codable compliance to CLLocationCoordinate2D
- 
                  
                  
Initialize with decoder
Throws
Decoding errorDeclaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderDecoder
 - 
                  
                  
Encode to encoder
Throws
Encoding errorDeclaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderEncoder
 - 
                  
                  
Equality operator
Declaration
Swift
public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> BoolParameters
lhsA thing
rhsAnother thing
Return Value
Equality
 - 
                  
                  
Empty coordinate value
Declaration
Swift
static var zero: CLLocationCoordinate2D - 
                  
                  
Is coordinate empty?
Declaration
Swift
var isZero: Bool { get } - 
                  
                  
CLLocation constructor convenience
Declaration
Swift
var location: CLLocation { get } - 
                  
                  
Distance calculation
Declaration
Swift
func distance(from: CLLocationCoordinate2D) -> CLLocationDistanceParameters
fromCLLocationCoordinate2D
Return Value
Distance
 - 
                  
                  
Distance calculation
Declaration
Swift
func distance(from: CLLocation) -> CLLocationDistanceParameters
fromCLLocation
Return Value
Distance
 
            View on GitHub
          
      CLLocationCoordinate2D Extension Reference