4 lines
215 B
Objective-C
4 lines
215 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#define MGLAssertIsMainThread() NSAssert([[NSThread currentThread] isMainThread], @"%s must be accessed on the main thread, not %@", __PRETTY_FUNCTION__, [NSThread currentThread])
|