On Thu, Aug 21, 2008 at 12:59 PM, Gerd Knops <[EMAIL PROTECTED]> wrote: > No problem with subclassing. It was just the presence of the > '-initWithWindowNibName:owner:' method that tripped me off a little, as it > seems near useless unless there is some undocumented magic behind it.
I don't see why you think it's useless? NSWindowController is not only used in document-based apps. You're perfectly free -- and, in fact, often encouraged -- to create one yourself, in your own code, in non-document-based apps. In this case, you may very well have no need to subclass NSWindowController but you do need File's Owner to point to something useful. That's where -initWithWindowNibName:owner: comes in. --Kyle Sluder _______________________________________________ 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]