NSWindowController to manage two NSWindow instances
NSWindowController to manage two NSWindow instances
- Subject: NSWindowController to manage two NSWindow instances
- From: Mirko Viviani <email@hidden>
- Date: Thu, 2 Aug 2007 10:44:57 +0200
Hi,
I want to use a single NSWindowController to manage two different
instances of NSWindow, one at a time.
To do that I use the NSWindowController -setWindow: method to swap
instances but after doing that the NSWindow
delegate methods are not anymore called.
The first time they are called but not after swapping.
I need to swap instance to manage normal/fullscreen mode and process
window's -keyDown: throught
the window controller.
I retain the nib top objects, the windows are not released when
closed, they display correctly
on the screen and the windows delegate are setup correctly... the
only things not working are the delegate
methods.
What does exactly the -setWindow: method does and how could I fix
this thing safety?
Thank you.
--
Ciao,
Mirko
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden