City

@objc(TKRegionCity)
public class City : NSObject, Codable, MKAnnotation
  • Declaration

    Swift

    public let title: String?
  • Declaration

    Swift

    public let coordinate: CLLocationCoordinate2D
  • Declaration

    Swift

    @objc
    public weak var region: TKRegion?
  • Declaration

    Swift

    public var orderInRegion: Int?
  • Declaration

    Swift

    public let subtitle: String?
  • Declaration

    Swift

    @objc
    public var centerBiasedMapRect: MKMapRect { get }
  • Declaration

    Swift

    public init(title: String, coordinate: CLLocationCoordinate2D)

Codable

  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws