TKRegion
public class TKRegion : NSObject, Codable
Undocumented
-
Undocumented
Declaration
Swift
@objc public static let international: TKInternationalRegion
-
Undocumented
See moreDeclaration
Swift
@objc(TKRegionCity) public class City : NSObject, Codable, MKAnnotation
-
Undocumented
Declaration
Swift
@objc public let timeZone: TimeZone
-
Undocumented
Declaration
Swift
@objc public let code: String
-
Undocumented
Declaration
Swift
@objc public let cities: [City]
-
Undocumented
Declaration
Swift
@objc public var name: String { get }
-
A list of all the mode identifiers this region supports. This is sorted as defined by the server, as the server groups and sorts them in a sensible manner and we want to preserve this sorting.
Declaration
Swift
@objc public let modeIdentifiers: [String]
-
Undocumented
Declaration
Swift
@objc public let urls: [URL]
-
Undocumented
Declaration
Swift
@objc public lazy var polygon: MKPolygon { get set }
-
Warning
Only use this for testing purposes, do not pass instances created this way to methods that needs a region. Instead use the various helpers inTKRegionManager
instead.Declaration
Swift
public init(forTestingWithCode code: String, modes: [String], cities: [City])
-
Undocumented
Declaration
Swift
@objc(containsCoordinate:) public func contains(_ coordinate: CLLocationCoordinate2D) -> Bool
-
Undocumented
Declaration
Swift
@objc(intersectsMapRect:) public func intersects(_ mapRect: MKMapRect) -> Bool
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Undocumented
See moreDeclaration
Swift
public struct RoutingMode : Hashable
-
Undocumented
Declaration
Swift
public var routingModes: [RoutingMode] { get }