Re: [Q] Any document that shows differences of Cocoa, programmiing for Mac and for the iPhone/iPod touch?
Re: [Q] Any document that shows differences of Cocoa, programmiing for Mac and for the iPhone/iPod touch?
- Subject: Re: [Q] Any document that shows differences of Cocoa, programmiing for Mac and for the iPhone/iPod touch?
- From: "Michael Ash" <email@hidden>
- Date: Tue, 15 Jul 2008 13:35:45 -0400
On Tue, Jul 15, 2008 at 11:29 AM, JongAm Park
<email@hidden> wrote:
> Thanks for the reply, Mr. Arentz.
> Yeah.. I read the document but it doesn't really give me some idea on why it
> is made and why we need to use it.
> Until the Tiger, views in a NIB file could be loaded, couldn't it?
The first paragraph of the documentation is short, and says only, "An
NSViewController object manages a view, typically loaded from a nib
file."
The next paragraph then lists three important things that
NSViewController does. The "why" is implicit in these three things:
you use it in order to get those things.
In addition to what's listed, NSViewController also performs lazy
loading of nibs, just like NSWindowController, which provides a
performance benefit.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden