From 4f509288b7c671db96555a24a4f490311adfc13a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Thu, 15 Oct 2015 14:16:27 -0700 Subject: [iOS] Removed long-unavailable APIs --- platform/ios/MGLMapView.mm | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'platform') diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index 6977b1de24..0e7547ef1b 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -172,24 +172,6 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration) return self; } -- (nullable NSString *)accessToken -{ - [NSException raise:@"Method unavailable" format: - @"%s has been removed. " - @"Use +[MGLAccountManager accessToken] or get MGLMapboxAccessToken from the Info.plist.", - __PRETTY_FUNCTION__]; - return nil; -} - -- (void)setAccessToken:(nullable NSString *)accessToken -{ - [NSException raise:@"Method unavailable" format: - @"%s has been replaced by +[MGLAccountManager setAccessToken:].\n\n" - @"If you previously set this access token in a storyboard inspectable, select the MGLMapView in Interface Builder and delete the “accessToken” entry from the User Defined Runtime Attributes section of the Identity inspector. " - @"Then go to the Info.plist file and set MGLMapboxAccessToken to “%@”.", - __PRETTY_FUNCTION__, accessToken]; -} - + (NS_SET_OF(NSString *) *)keyPathsForValuesAffectingStyleURL { return [NSSet setWithObjects:@"styleURL__", nil]; -- cgit v1.2.1