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

Return nil for IB designables agent #1547

Merged
merged 1 commit into from
May 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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