]>
Commit | Line | Data |
---|---|---|
b1f7435d A |
1 | #include <Foundation/Foundation.h> |
2 | ||
3 | @interface Foo : NSObject | |
4 | - (NSString*) foo; | |
5 | @end | |
6 | ||
7 | ||
8 | @implementation Foo | |
9 | - (NSString*) foo | |
10 | { | |
11 | return [NSString stringWithUTF8String:"hello"]; | |
12 | } | |
13 | @end | |
14 | ||
15 | ||
16 | @interface Bar : NSData | |
17 | - (NSArray*) bar; | |
18 | @end | |
19 | ||
20 | ||
21 | @implementation Bar | |
22 | - (NSArray*) bar | |
23 | { | |
24 | return [NSArray array]; | |
25 | } | |
26 | @end | |
27 |