I came across a library written in Objective C (I only have the header file and the .a binary). In the header file, it is like this:
@interface MyClass : MyS
No you can't. But you can do this if you're not using @property:
@property
@interface X : Y { struct X_Impl* impl; } -(int)getValue; @end
struct X_Impl { int value; }; ... @implementation X -(void)getValue { return impl->value * impl->value; } @end