• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: count only defined for abstract class error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: count only defined for abstract class error


  • Subject: RE: count only defined for abstract class error
  • From: "Mondragon, Ian" <email@hidden>
  • Date: Thu, 01 May 2003 12:37:55 -0500

Jean-Daniel,

I'd recommend creating a *category* of NSMutableArray instead.

- Ian

-----Original Message-----
From: Jean-Daniel Dupas [mailto:email@hidden]
Sent: Thursday, May 01, 2003 12:27 PM
To: email@hidden
Subject: count only defined for abstract class error


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.
_______________________________________________
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.

  • Prev by Date: Undocumented/unsupported features
  • Next by Date: Re: cocoa-dev digest, Vol 2 #2281 - 15 msgs
  • Previous by thread: Re: count only defined for abstract class error
  • Next by thread: RE: count only defined for abstract class error
  • Index(es):
    • Date
    • Thread