Hi, I’m student of second year Software Engineering and passed few courses on C++ , .Net using C# and VB, Java and also C.
After reading few chapters of Cocoa programming and programming in Objective-C Books I’ve gotten quit confused.
I’ve found that everything in Cocoa is defined and works based on delegate and predefined functions and methods. Which means programmer should go and find something which has been made by someone before for what he planned to do - - - e.g.
For every chapter of Cocoa Programming book there are lists of methods and function that book mostly focused on them
-(void)drawRect:(NSRect)rect -(void)alertEnded:(NSAlert *)alert -(id)objectForKey:(NSString *)defaultName and so on, and so on, and so on...
I don’t know I can deliver what I mean or not, but other languages such as Java, functions mostly defined by the programmer and functions get called in other functions. Or in C# programming structure is mostly event based. Even I still haven’t realized how functions get called in another functions in Objective-C as all I saw in the books is how to apply predefined methods and there is method for whatever you want to do.
Please someone explain what is going on or I die young.