TKFoursquareGeocoder

Objective-C

@interface TKFoursquareGeocoder : NSObject <SGDeprecatedAutocompletionDataProvider, SGDeprecatedGeocoder>

- (instancetype)initWithClientID:(NSString *)clientID
                    clientSecret:(NSString *)clientSecret;

@end

Swift

class TKFoursquareGeocoder : NSObject, SGDeprecatedAutocompletionDataProvider, SGDeprecatedGeocoder

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithClientID:(NSString *)clientID
                        clientSecret:(NSString *)clientSecret;

    Swift

    init(clientID: String, clientSecret: String)
  • Declaration

    Swift

    @objc
    public func hit(_ endpoint: String, paras: [String : Any], completion: @escaping ([String : Any]?, Error?) -> Void)
  • Declaration

    Swift

    @objc(addDataSourcesToCoordinate:fromJSON:)
    public func addDataSources(to coordinate: TKNamedCoordinate, from json: [String : Any])