On Tue, Jul 15, 2008 at 11:29 AM, JongAm Park <[EMAIL PROTECTED]> 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
