Dear All,
I read 3 different books about Objective-C with Cocoa.Unfortnatley there are some things i really can't understand.I would be very thankful if some of you explain in brief:
- delegates!After all i read i still can't understand what they are?
- following MVC pattern, what we do: the Cocoa template creates project with files ProjectNameDelegate.As i can see we should start our code in applicationDidFinishLaunching {}
- is there any example in which we can see clearly model, view and controller and the role of Delegates?
- if we use MVC it shoud mean we can create working console app and than just add the View and the controller in order to make GUI app, right?
- when we use CoreData, we can create the model, which replace the class, but when we'll place the methods which we want to manipulate the Model data?
I read 3 different books about Objective-C with Cocoa.Unfortnatley there are some things i really can't understand.I would be very thankful if some of you explain in brief:
- delegates!After all i read i still can't understand what they are?
- following MVC pattern, what we do: the Cocoa template creates project with files ProjectNameDelegate.As i can see we should start our code in applicationDidFinishLaunching {}
- is there any example in which we can see clearly model, view and controller and the role of Delegates?
- if we use MVC it shoud mean we can create working console app and than just add the View and the controller in order to make GUI app, right?
- when we use CoreData, we can create the model, which replace the class, but when we'll place the methods which we want to manipulate the Model data?