Classes

The following classes are available globally.

  • Represents a spatially bound entity. Consists of a geometry object and an id. Both are optional. If geometry is absent, the feature is unlocated.

    See more

    Declaration

    Objective-C

    @interface TTGeoJSONFeatureCollection : NSObject

    Swift

    class TTGeoJSONFeatureCollection : NSObject
  • TTGeoJSONObject

    See more

    Declaration

    Objective-C

    @interface TTGeoJSONObject : NSObject

    Swift

    class TTGeoJSONObject : NSObject
  • A Geometry type comprising one or more LineStrings. The exterior ring represents the outer edges of a polygon and is a LineStrings of at least four Positions in counterclockwise order. The interior rings (0 or more) - LineStrings of at least four Positions in clockwise order - define holes in the polygon. In all cases the first and the last position in a LineString contain identical values.

    See more

    Declaration

    Objective-C

    @interface TTGeoJSONPolygon : TTGeoJSONObject

    Swift

    class TTGeoJSONPolygon : TTGeoJSONObject
  • A representation of the bounding box rectangle.

    See more

    Declaration

    Objective-C

    @interface TTBoundingBox : NSObject

    Swift

    class TTBoundingBox : NSObject
  • TTHTTPHeadersBuilder Search query

    See more

    Declaration

    Objective-C

    @interface TTHTTPHeadersBuilder : NSObject

    Swift

    class TTHTTPHeadersBuilder : NSObject
  • A TTLocation object contains the geographical location.

    See more

    Declaration

    Objective-C

    @interface TTLocation : NSObject

    Swift

    class TTLocation : NSObject
  • The TTRequest class represents an abstract implementation of a Request that might be scheduled by TTRequstScheduler. This class is designed to be inherited by concrete Request implementations.

    See more

    Declaration

    Objective-C

    @interface TTRequest<Result> : NSOperation

    Swift

    class TTRequest<Result> : Operation where Result : AnyObject
  • A TTRequestScheduler object is used to schedule and perform requests on a background thread.

    See more

    Declaration

    Objective-C

    @interface TTRequestScheduler : NSObject

    Swift

    class TTRequestScheduler : NSObject
  • A TTResult object encapsulates a generic value or an error, never both.

    See more

    Declaration

    Objective-C

    @interface TTResult<__covariant Result> : NSObject

    Swift

    class TTResult<Result> : NSObject where Result : AnyObject