• 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
Re: NSPanel and NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPanel and NSWindowController


  • Subject: Re: NSPanel and NSWindowController
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 24 Jun 2010 16:56:05 -0600

On Jun 24, 2010, at 4:31 PM, Daniel Káčer wrote:

> i have created NSPanel in NIB file, for controlling this NSPanel i have also controller and i need in this controller handling close event this NSPanel. Which method is for this thing usable

Make your controller the window's delegate if you haven't already, and then implement -windowWillClose: in the controller, which is part of the NSWindowDelegate protocol. See the documentation for NSWindowDelegate for more details.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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

References: 
 >NSPanel and NSWindowController (From: Daniel Káčer <email@hidden>)

  • Prev by Date: NSPanel and NSWindowController
  • Next by Date: accessing core data sqlite from utility
  • Previous by thread: NSPanel and NSWindowController
  • Next by thread: accessing core data sqlite from utility
  • Index(es):
    • Date
    • Thread