SHOW:
|
|
- or go back to the newest paste.
1 | - | #include <Foundation/Foundation.h> |
1 | + | |
2 | #include <stdio.h> | |
3 | ||
4 | #include "TestClass.h" | |
5 | ||
6 | - | OBJC_ROOT_CLASS |
6 | + | const void* SCP_METADATA_ARRAY[] __attribute__((used, weak)) { |
7 | - | @interface TestClass: NSObject |
7 | + | |
8 | (__bridge void*)[TestClassLib class] | |
9 | - | NSInteger pageNum; |
9 | + | |
10 | - | } |
10 | + | }; |
11 | ||
12 | - | @property NSInteger pageNum; |
12 | + | |
13 | { | |
14 | - | @end |
14 | + | Class cls = objc_getClass("TestClass"); |
15 | ||
16 | //[TestClass class]; | |
17 | ||
18 | - | /*Class cls = objc_getClass("TestClass"); |
18 | + | //[TestClass test]; |
19 | - | SEL sel = sel_getUid("testMethod"); |
19 | + | |
20 | return 0; | |
21 | - | objc_msgSend(cls, sel);*/ |
21 | + |