On Sun, Mar 23, 2008 at 11:36 PM, Samvel <[EMAIL PROTECTED]> wrote:

> That looks exactly as the functionality I was looking for.
> Thus, the whole task should be divided into next steps:
>
> 1. Set delegate for current *NSApp*.
> 2. In above delegate implement *-applicationShouldTerminate:* method and
> return *NSTerminateLater*.
> 3. Say, this delegate (or some other object) received Notification saying
> that application is fine to quit now (after all necessary steps performed)
> then call *[NSApp replyToApplicationTerminate:YES]* and Application will
> proceed with quitting.
>
> Is that right?
>

Exactly.


> Sorry, but I am a freshman in Mac programming :).
>

Welcome aboard!

sherm--
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to