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 (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 arch...@mail-archive.com

Reply via email to