Skip navigation.
 
mlRe: [Q] Any document that shows differences of Cocoa programming for Mac and for the iPhone/iPod touch?
FROM : Stefan Arentz
DATE : Tue Jul 15 05:50:39 2008

On Jul 14, 2008, at 4:15 PM, JongAm Park wrote:

...

> (Well, I just looked up "NSViewController" document and it says that 
> it was added to the Leopard.
> Is there any document which explains why it is added and how the 
> programming model is changed due to the addition of it? )


The NSViewController documentation does a good job. The Overview 
section outlines three things that the NSViewController will handle 
for you.

I have not used the NSViewController in my project. But I think it is 
mostly useful when you want to load a (custom) view from a NIB/XIB 
file and hook it up to a bindings enabled data source.

For me the class reference is a bit dry. I would love to read more in 
the style of WHY you would want to use a certain class. A more 
pragmatic 'recipe' style documentation.

  S.