• 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
cleanup; dealing with serious errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cleanup; dealing with serious errors


  • Subject: cleanup; dealing with serious errors
  • From: Roland Silver <email@hidden>
  • Date: Sun, 17 Jul 2005 12:56:57 -0600

I have a Cocoa program which is a wrapper for a core of C-functions that carry out the real business of the program. The only class I have defined is EmuController, a subclass of NSObject.
1. When the program is ready to quit, it must invoke my cleanup() function. How do I do that?
2. If a serious error occurs during the operation of the program, I need to post a message to an error window, wait for the user to acknowledge, and then quit, even if the error occurs deep within a series of calls. How do I do that?
--Roland Silver


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: cleanup; dealing with serious errors
      • From: "Marcus S. Zarra" <email@hidden>
  • Prev by Date: Getting HFS file type of an application
  • Next by Date: Re: Getting HFS file type of an application
  • Previous by thread: Re: Getting HFS file type of an application
  • Next by thread: Re: cleanup; dealing with serious errors
  • Index(es):
    • Date
    • Thread