• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWindowController to manage two NSWindow instances
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSWindowController to manage two NSWindow instances
      • From: Chris Hanson <email@hidden>
    • NSURLConnection and multipart/x-mixed streams
      • From: Milo Bird <email@hidden>
  • Prev by Date: Re: convertPoint mouseLocationOutsideOfEventStream
  • Next by Date: Thread Communication Conceptual Question
  • Previous by thread: Re: convertPoint mouseLocationOutsideOfEventStream
  • Next by thread: NSURLConnection and multipart/x-mixed streams
  • Index(es):
    • Date
    • Thread