On Wed, 6 Oct 2010 15:53:13 +0400, eveningnick eveningnick
<[email protected]> said:
>Hello
>I have an application that transforms a very big file, and during that
>operation i want to give a chance to user to press Esc and cancel this
>transformation.

You're going to use a secondary thread and that's that. I would second the
advice to use NSOperation. I hesitated and hesitated and then went for it,
and it turned out to be very easy, much easier and far less "close your
eyes and think of England" than NSThread. m.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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