OK.... XCode doesn't put up any errors or any warnings for this code and the app works as intended. The code is in an NSViewController, so I was targeting the view controller's view and then the view's window. What is the correct approach?


On Sep 12, 2008, at 7:09 PM, Bill Bumgarner wrote:


On Sep 12, 2008, at 7:08 PM, Brad Gibbs wrote:
[self.view.window.parentWindow.windowController removeChildWindow: [self.view.window]];

[self.view.window] doesn't make any sense.

b.bum



_______________________________________________

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