3 #include <Foundation/Foundation.h>
5 @interface Foo : NSObject
9 @property(readonly) int instanceProperty;
11 @property(class, readonly) int classProperty;
15 @implementation Foo(mycat)
16 -(int) instanceProperty { return 0; }
17 +(int) classProperty { return 0; }