On 16 Sep 2008, at 3:34 pm, Chris Idou wrote:

OK, but if you had the window controller in the NIB, then you wouldn't be calling NSWindowController initWithWindowNibName:owner: in the first place. So the mystery of this API remains.


And if the window controller were not in the nib, but were created programatically, yet wasn't the nib's owner?

One thing about Cocoa's design - it rarely forces you to construct things in only one way, but leaves the door open to doing it in a variety of ways. Since initWithWindowNibname:owner: is the more general case of initWithWindowNibName:, it seems to me reasonable to provide it, even if 99% of folk are never going to use it.

Graham
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to