Skip to content

Instantly share code, notes, and snippets.

Daniele Orru' danydev

Block or report user

Report or block danydev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PSPDFUIKitMainThreadGuard.m
#import "VMUIKitMainThreadGuard.h"
#import <objc/runtime.h>
#import <objc/message.h>
#import <UIKit/UIKit.h>
* This installs a small guard that checks for the most common threading-errors in UIKit.
* This won't really slow down performance but still only is compiled in DEBUG versions.
* @note No private API is used here.
You can’t perform that action at this time.