From 317be3470827ab278e930240b71fefee3fe87c02 Mon Sep 17 00:00:00 2001 From: Brad Leege Date: Fri, 24 Apr 2015 15:29:34 -0500 Subject: [PATCH] #1225 - Removing unavailable block on MGLMapView.initWithFrame --- include/mbgl/ios/MGLMapView.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h index eb9a770dcb4..e6aaee9a0dc 100644 --- a/include/mbgl/ios/MGLMapView.h +++ b/include/mbgl/ios/MGLMapView.h @@ -38,8 +38,6 @@ IB_DESIGNABLE * @return An initialized map view, or `nil` if the map view was unable to be initialized. */ - (instancetype)initWithFrame:(CGRect)frame accessToken:(NSString *)accessToken styleURL:(NSURL *)styleURL; -- (instancetype)initWithFrame:(CGRect)frame __attribute__((unavailable("Instantiating an MGLMapView requires setting a style and/or an access token."))); - #pragma mark - Authorizing Access /** @name Authorizing Access */