This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <objc/runtime.h> | |
#import <objc/message.h> | |
#import <QuartzCore/QuartzCore.h> | |
#define PROPERTY(propName) NSStringFromSelector(@selector(propName)) | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
#ifdef DEBUG | |
static void PSPDFSwizzleMethod(Class c, SEL orig, SEL new) { |