Advertisement
elvman

Untitled

Feb 17th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <objc/message.h>
  2. #include <stdio.h>
  3.  
  4. #include "TestClass.h"
  5.  
  6. const void* SCP_METADATA_ARRAY[] __attribute__((used, weak)) {
  7.    
  8.     (__bridge void*)[TestClassLib class]
  9.    
  10. };
  11.  
  12. int main()
  13. {
  14.     Class cls = objc_getClass("TestClass");
  15.    
  16.     //[TestClass class];
  17.    
  18.     //[TestClass test];
  19.    
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement