TNLocation

@objcMembers
public class TNLocation : NSObject, Codable

Location information.

  • lat

    latitude

    Declaration

    Swift

    public let lat: Double
  • lon

    longitude

    Declaration

    Swift

    public let lon: Double
  • The name of location.

    Declaration

    Swift

    public let label: String?
  • The time of location.

    Declaration

    Swift

    public let time: Date?
  • The predict of location.

    Declaration

    Swift

    public let isPredict: Bool
  • Undocumented

    Declaration

    Swift

    public init(lat: Double, lon: Double, label: String? = nil, time: Date? = nil, isPredict: Bool = false)
  • Undocumented

    Declaration

    Swift

    public convenience init(with location: CLLocation)