• 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: Cocoa Cleanup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Cleanup


  • Subject: Re: Cocoa Cleanup
  • From: Greg Hulands <email@hidden>
  • Date: Fri, 7 Feb 2003 09:03:34 +1000

Set your controller as a delegate to the files owner in IB. Then you
can get the - (NSApplicationTerminateReply) applicationShouldTerminate:
(NSApplication *) sender


Then do you clean up in this method

Greg
On Friday, February 7, 2003, at 07:12 AM, email@hidden wrote:

> How do I know when my Cocoa application using a .nib file is about to
> quit so I can release my sockets. The dealloc messages are not
> getting called by the nib for the UIController class so I don't know
> when the app is about to quit.
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Cocoa Cleanup (From: email@hidden)

  • Prev by Date: ditto error
  • Next by Date: Re: Cocoa Cleanup
  • Previous by thread: Cocoa Cleanup
  • Next by thread: Re: Cocoa Cleanup
  • Index(es):
    • Date
    • Thread