Archief voor juni, 2010
Dit is nog eens vet! Why you might wonder? World domination of course! Here goes! #import <Foundation/Foundation.h> #import <objc/runtime.h> @interface MyInterface : NSObject { NSString *string; } @property (nonatomic, retain) NSString *string; @end @implementation MyInterface @synthesize string; @end // The method we want to add to class `MyInterface` void printSelfIMP(id self, SEL _cmd, …) { [...]
Gearchiveerd onder:Uncategorized | Laat een reactie achter