Location

@objc
public class Location : NSObject, Decodable, NSCoding

Small class to store location coordinates. This is used in preferences over CoreLocation types to avoid extra linking requirements for the SDK.

Decodable

NSCoding

  • Required initializer for NSCoding conformance.

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Required encoding function for NSCoding conformance.

    Declaration

    Swift

    public func encode(with aCoder: NSCoder)