On 13-Feb-09, at 12:31 AM, Ken Thomases wrote:

Why are you overriding it? The -cancel method is not supposed to actively bring the operation to a stop. It's only supposed to set a flag. The operation's work methods (-start, -main, and whatever they call) should be periodically checking the -isCancelled property and, if it's set, gracefully bring their work to an end.

Because all -start does is initiate an NSURLConnection. If it's failing to connect or whatever, I want the operation to stop when the user says so, not whenever -didFailWithError gets around to being called.

--
Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/

"You definitely have some kind of Zen thing going for you."
   -- Craig Joseph Huxtable

_______________________________________________

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 arch...@mail-archive.com

Reply via email to