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

Commit

Permalink
Merge pull request #1547 from mapbox/1ec5-ib-nil
Browse files Browse the repository at this point in the history
Return nil for IB designables agent
  • Loading branch information
incanus committed May 13, 2015
2 parents f4221dc + 9a404a3 commit 1d38b63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/ios/MGLAccountManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ @implementation MGLAccountManager
//
+ (instancetype) sharedManager {
if (NSProcessInfo.processInfo.mgl_isInterfaceBuilderDesignablesAgent) {
return;
return nil;
}
static dispatch_once_t onceToken;
static MGLAccountManager *_sharedManager;
Expand Down
2 changes: 1 addition & 1 deletion platform/ios/MGLMapboxEvents.m
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ - (instancetype) init {
//
+ (instancetype)sharedManager {
if (NSProcessInfo.processInfo.mgl_isInterfaceBuilderDesignablesAgent) {
return;
return nil;
}
static dispatch_once_t onceToken;
static MGLMapboxEvents *_sharedManager;
Expand Down

0 comments on commit 1d38b63

Please sign in to comment.