Hi all,

I ran into a problem when using categories:

@interface MyClass (MyCategory)
- (void) helloWorld
@end

Then I sublcass MyClass with MyClass2
helloWorld is not defined in MyClass.

In another source code, I make invoke [myClass2Instance helloWorld], and I get:

Uncaught exception NSInvalidArgumentException, reason: MyClass2(instance) does not recognize helloWorld.

Maybe the categories are not inherited by the MyClass2 class... which would be really strange as this compiles and works fine under OSX.

tia,

-- S�bastien

--
�Life begins at the centerfold and expands outward.�
<http://www.type-z.org> -- Miss November, 1966


_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-gnustep

Reply via email to