cleanup; dealing with serious errors
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