Tagged Questions
2
votes
3answers
839 views
Can I use a child class variables in its parent class?
I am programming in Objective C, iOS. I create a Class A which is a parent class, and Class B inherits to Class A.
Now I have Class B variables which I also need to use in Class A. And also one ...
1
vote
2answers
480 views
Is it a good programming practice to have a class with several .h files?
I suppose the class have several different interfaces. Some it shows to some class, some it shows to other classes.
Are there any good reason for that?
One thing I can think of is with one .h per ...