Hello,
I'd say I am familiar with C , C++ , Java and C# especially the last two as I've used them not only for university projects (i am cs major) but also for my own purposes like for example java for android programming.
Recently, I've tried to put my hands on Objective C. Understanding objective c and also the concept of OO is not really a problem for me.
The problem comes down to COCOA and the use of XCODE itself. I didn't imagine that I will come across with such difficulties and i think the problem it's the XCODE and not that much COCOA. I am frustrated trying to develop even the simplest program as I don't understand how to use the interface builder and all these connection.
Through the books I've read (there are for earlier versions of xcode other than 4.0 but this is not a problem) i understand that any objects needs a pointer to it. For example if we have a textfield we need a pointer to a textfield.
This is ok as :
1. Declare the pointer to the .m
2. We need an NSobject (is this an instance of the class xxx.m?) so the textfield points to
3. A button which points the NSobject.
4. Drag the button to .h and then program the method in .m
IS this procedure correct? Please if you have any info or any books to recommend I would highly appreciate it.
I'd say I am familiar with C , C++ , Java and C# especially the last two as I've used them not only for university projects (i am cs major) but also for my own purposes like for example java for android programming.
Recently, I've tried to put my hands on Objective C. Understanding objective c and also the concept of OO is not really a problem for me.
The problem comes down to COCOA and the use of XCODE itself. I didn't imagine that I will come across with such difficulties and i think the problem it's the XCODE and not that much COCOA. I am frustrated trying to develop even the simplest program as I don't understand how to use the interface builder and all these connection.
Through the books I've read (there are for earlier versions of xcode other than 4.0 but this is not a problem) i understand that any objects needs a pointer to it. For example if we have a textfield we need a pointer to a textfield.
This is ok as :
1. Declare the pointer to the .m
2. We need an NSobject (is this an instance of the class xxx.m?) so the textfield points to
3. A button which points the NSobject.
4. Drag the button to .h and then program the method in .m
IS this procedure correct? Please if you have any info or any books to recommend I would highly appreciate it.