• 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: only defined for abstract class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: only defined for abstract class


  • Subject: Re: only defined for abstract class
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 6 Oct 2005 07:29:16 -0600


On Oct 6, 2005, at 1:47 AM, Francis Derive wrote:

- (id) objectAtIndex:(unsigned) index {
    theObject = [super objectAtIndex:index];

I'm not an expert at class clustering, but I don't think you can invoke the superclass of a class cluster subclass in one of its primitive methods, because the superclass method doesn't actually do anything except raise exceptions. If you want to do something like the above, then try encapsulating an NSArray inside the subclass and call on that instead. That ought to work.


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: only defined for abstract class
      • From: Francis Derive <email@hidden>
References: 
 >only defined for abstract class (From: Francis Derive <email@hidden>)
 >Re: only defined for abstract class (From: Pontus Ilbring <email@hidden>)
 >Re: only defined for abstract class (From: Francis Derive <email@hidden>)

  • Prev by Date: pixel color and alpha values from NSBitmapImageRep
  • Next by Date: Re: only defined for abstract class
  • Previous by thread: Re: only defined for abstract class
  • Next by thread: Re: only defined for abstract class
  • Index(es):
    • Date
    • Thread