Skip to content

Latest commit

History

History
47 lines (33 loc) 路 766 Bytes

CLLocationCoordinate2D.md

File metadata and controls

47 lines (33 loc) 路 766 Bytes

EXTENSION

CLLocationCoordinate2D

extension CLLocationCoordinate2D: Equatable

Methods

==(_:_:)

public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool

Equatable coordinates

encode(to:)

public func encode(to encoder: Encoder) throws

Encode a CLLocationCoordinate2D

  • Parameter encoder: Encoder
  • Throws: EncodingError

Parameters

Name Description
encoder Encoder

init(from:)

public init(from decoder: Decoder) throws

Decode CLLocationCoordinate2D from data

  • Parameter decoder: Decoder
  • Throws: DecodingError

Parameters

Name Description
decoder Decoder