NSDocument doesn't implement -window

I think you're getting muddled about what "sender" is and the relationship between the document and other objects. Using addChildWindow: should be OK, once you've sorted this out.

hth,

Graham

On 31 Jul 2008, at 2:51 pm, Sumner Trammell wrote:

but it doesn't work.  I get *** -[MyDocument window]: unrecognized
selector sent to instance 0x1613ab30 in the run log.

_______________________________________________

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