Cocoaはさっぱり!version:2
■ このスレッドは過去ログ倉庫に格納されています
0461名称未設定
03/04/30 02:23ID:qWPrDMtcNSApplicationのリファレンスは読んだ?
terminate:の解説に、
>Don't put final cleanup code in your application's main() function-it will never be executed. If cleanup is necessary, have the delegate respond to applicationWillTerminate: and perform cleanup in that method.
とあるので、戻り値を自分でかえるのはダメなんでは?
どうしてもやるならカテゴリでterminate:を上書きとかになるけど、よくないよなー。
■ このスレッドは過去ログ倉庫に格納されています