count only defined for abstract class error
count only defined for abstract class error
- Subject: count only defined for abstract class error
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 01 May 2003 19:26:48 +0200
I have a problem with a subclass of NSMutableArray.
I define it like that.
@interface Foo : NSMutableArray
{}
@end
And when i try to do [foo count] i have an error message:
-count only defined for abstract class. Define -[Foo count]!
I try to do a -(unsigned)count methode with
Return [super count]; in my class Foo
But i have the same error.
Why have i this error?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.