1 #include <Foundation/Foundation.h>
3 @interface Foo : NSObject
8 @protocol myotherprotocol
9 - (void) instance_method_myotherprotocol1;
10 - (void) instance_method_myotherprotocol2;
13 @interface Foo(myothercat) < myotherprotocol >
14 - (void) instance_method_myothercat;
15 + (void) class_method_myothercat;
18 @implementation Foo(myothercat)
19 - (void) instance_method_myothercat {}
20 + (void) class_method_myothercat {}
21 - (void) instance_method_myotherprotocol1 {}
22 - (void) instance_method_myotherprotocol2 {}
26 @interface Foo(myothercat)
27 - (void) instance_method_myothercat;
28 + (void) class_method_myothercat;
31 @implementation Foo(myothercat)
32 - (void) instance_method_myothercat {}
33 + (void) class_method_myothercat {}