priore

Obfuscate Class and methods in Objective-C

Jun 18th, 2015
784
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // MyClass.h
  2. // Obfuscate Class and methods in Objective-C
  3. //
  4. // use :
  5. // #import "MyClass.h"
  6. // [c123456 m654323:@"my-string"]
  7. //
  8. #define MyClass c123456
  9. #define myMethod m654323
  10.  
  11. @interface MyClass : NSObject
  12.  
  13. + (void)myMethod:(NSString*)param;
  14.  
  15. @end
RAW Paste Data