1 | #import <Foundation/Foundation.h> |
---|---|
2 | |
3 | @interface Foo : NSObject {} |
4 | |
5 | -(id) init; |
6 | |
7 | @end |
8 | |
9 | @implementation Foo |
10 | |
11 | -(id) init |
12 | { |
13 | return self = [super init]; |
14 | } |
15 | @end |
16 | |
17 | int main() |
18 | { |
19 | Foo *foo = [Foo new]; |
20 | NSLog(@"a"); // Set breakpoint here. |
21 | return 0; |
22 | } |
23 |