EXTENSION
extension CLLocationCoordinate2D: Equatable
public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool
Equatable coordinates
public func encode(to encoder: Encoder) throws
Encode a CLLocationCoordinate2D
- Parameter encoder: Encoder
- Throws:
EncodingError
Name | Description |
---|---|
encoder | Encoder |
public init(from decoder: Decoder) throws
Decode CLLocationCoordinate2D
from data
- Parameter decoder: Decoder
- Throws:
DecodingError
Name | Description |
---|---|
decoder | Decoder |