Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <objc/message.h>
- #include <stdio.h>
- #include "TestClass.h"
- const void* SCP_METADATA_ARRAY[] __attribute__((used, weak)) {
- (__bridge void*)[TestClassLib class]
- };
- int main()
- {
- Class cls = objc_getClass("TestClass");
- //[TestClass class];
- //[TestClass test];
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement