Thanks for this. I just have some problems understanding Classes. That is the only thing I read about but I don't understand them.
SO classes are normaly in different files - cass.h and class.m. Why are some variables defined in the class.h file? Do they all have to be defined there? Because you can define new variable in the class.m file. If I create new view and go to write class files I get the textboxes and labels... defined in class.h file - and if they are not defined there they don't work. The question here is Why can't I just use one source file for the whole program - I know that this is possible with PHP? Why do I have to use different class files - and when must this files be created?
This are my questions - probably they don't make any sense but If someone does know what I am thinking about - please help.
EDIT: Is it possible to use non-objective language with iphone SDK?
Last edited by roli; 08-20-2008 at 08:20 AM.
|