Type Definitions
The following type definitions are available globally.
-
Struct
TGCoordinateBounds
Declaration
Objective-C
typedef struct TGCoordinateBounds TGCoordinateBounds
-
Dictionary of feature properties keyed by their property name.
Declaration
Objective-C
typedef NSDictionary<NSString *, NSString *> TGFeatureProperties
-
A URL request completion callback, called when a download request of
TGURLHandler
completes an asynchronous request.Declaration
Objective-C
typedef void (^TGDownloadCompletionHandler)(NSData *_Nullable, NSURLResponse *_Nullable, NSError *_Nullable)
Swift
typealias TGDownloadCompletionHandler = (Data?, URLResponse?, Error?) -> Void