| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Sorry, that doesn't do what I need.
I have an object (call it F) of class foo and an object of class foo-bar (call it FB).
class foo-bar is a sub-class of foo.
class foo does implement some methods but would like to leave others to the sub-classes.
Another object (call it test) would like to call methods on objects of super-class type foo. However, foo is never instantiated, only subclasses are. Also, I'd like to have foo declare some methods that it doesn't implement but I would like to guarantee sub-classes implement. Protocols aren't that strict.
Please correct me if I'm wrong here.`
Is there another way to do this in Obj-C.
| References: | |
| >Re: Subclass (From: email@hidden) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.