Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
#1225 - Removing unavailable block on MGLMapView.initWithFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed Apr 24, 2015
1 parent 7e14578 commit 317be34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/mbgl/ios/MGLMapView.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 317be34

Please sign in to comment.