Hi all
I am not clear about the need to create an app delegate class, instead of adding the delegate methods in the viewcontroller directly.
Is there any reason why someone want to have a separate delegate class? Style preference? Design constrains? (I am following the MVC model, as Xcode users and app makers do).
I am asking since i have 3 books that explain the process of writing apps in different ways; so I would like to know if is just personal preference of the authors, or if there is something different under the hood (all my C++ books were explaining the concepts in the same way; and now that i am using OBJ-C and cocoa touch, i feel totally disoriented when i see different implementations of the same app).
Another thing that make me think, is the need to create a separate class as viewcontroller, instead of using the template that is in Xcode directly (it creates a view controller automatically); since another book shows how they load the template but then they create a viewcontroller class from scratch....again personal preference of the author or there is something else going on?
Sorry if it sounds simple; but i am a beginner at OBJ-C :)
Thanks!