| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
1. ) Private methods:
Is it possible to declare a method as private. From what I found out so
far it is not, but a similar behaviour may be achieved by declaring a
private category. How would one declare a private category. One example
I found simple named the category "Private", but this seems to easy /
wrong to me.
2.) Abstract methods:
Is is possible to declare methods / classes as abstract. Conceptually I
see that it is possible, but how is it done in practice to prevent
instantiation of a class?
3.) Inheritance of the constructor / class methods
Is seems to me that the constructor is inherited as well. Does this
mean that inheritance covers class methods (i.e. +) as well ?
4.) Runtime adoption
This might be the most misguided question of all. Is it possible to
adopt a protocol at runtime, i.e. without having it declared before. I
vaguely remember reading in a tutorial that the Objective C language
supports a feature along the lines of adopting a protocol at runtime.
Is there such a thing and how is it done.
| References: | |
| >Objective C language [NEWBEE QUESTIONS] (From: "Alexander F. Hartner" <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.