Removed MGLMapView's IBDesignable attribute. The map's view render attributes uses GL, making changes through the inspectables were not reflected in the storyboard and were causing IB crashes. * [ios] Deactivate MGLMapView IBDesignable. * [ios] Remove IBDesignable agent code. * [ios, macos] Remove NSProcessInfo category from iOS.
11 lines
285 B
Objective-C
11 lines
285 B
Objective-C
#import "NSProcessInfo+MGLAdditions.h"
|
|
|
|
@implementation NSProcessInfo (MGLAdditions)
|
|
|
|
- (BOOL)mgl_isInterfaceBuilderDesignablesAgent {
|
|
NSString *processName = self.processName;
|
|
return [processName hasPrefix:@"IBAgent"] || [processName hasPrefix:@"IBDesignablesAgent"];
|
|
}
|
|
|
|
@end
|