1 | #import <objc/NSObject.h> |
---|---|
2 | @interface Util : NSObject |
3 | + (void)debugPrintErrorStatic; |
4 | - (void)debugPrintError; |
5 | @end |
6 | |
7 | int main(int argc, const char * argv[]) { |
8 | [Util debugPrintErrorStatic]; |
9 | |
10 | Util *u = [[Util alloc] init]; |
11 | |
12 | [u debugPrintError]; |
13 | |
14 | return 0; |
15 | } |
16 | |
17 |