summaryrefslogtreecommitdiff
path: root/platform/ios/NSException+MGLAdditions.h
blob: 4d5de15116518489b6f348d6117649ff18a96708 (plain)
1
2
3
#import <Foundation/Foundation.h>

#define MGLAssertIsMainThread() NSAssert([[NSThread currentThread] isMainThread], @"-[%@ %@] must be accessed on the main thread, not %@", [self class], NSStringFromSelector(_cmd), [NSThread currentThread])