1 | #import "Container.h" |
---|---|
2 | |
3 | @interface ForwardDeclaredClass : NSObject |
4 | { |
5 | int a; |
6 | int b; |
7 | } |
8 | @end |
9 | |
10 | @implementation ForwardDeclaredClass |
11 | |
12 | @end |
13 | |
14 | @implementation Container |
15 | |
16 | -(id)init |
17 | { |
18 | member = [ForwardDeclaredClass alloc]; |
19 | return [super init]; |
20 | } |
21 | |
22 | -(ForwardDeclaredClass *)getMember |
23 | { |
24 | return member; |
25 | } |
26 | |
27 | @end |
28 |