On Jan 13, 2009, at 12:21 PM, Alexander Reichstadt wrote:

If so, do you override -initWithWindowNibName:? The implementation may matter.

No, I only override initWithWindow. Should I override it, and if so should I call on NSBundle to load my nib there then?

I recommend that you allow NSWindoController to manage the nib, which it will if you override -initWithWindowNibName: instead. That alone may very well solve your problem. Note that you will *not* manually load the nib in this override. NSWindoController will do that automatically, although lazily (that's why you call -window, which forces the nib to load).

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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 arch...@mail-archive.com

Reply via email to