Skip to main content
1 vote
Accepted

What is the best way to retain a local object which is performing an asynchronous task?

There are several ways to handle this issue in Objective-C, but one common approach is to have the object retain itself while performing the asynchronous operation and then release itself when the ...
Rapidmod's user avatar
  • 176
1 vote

What is the best way to retain a local object which is performing an asynchronous task?

An object retaining itself when it knows that it needs to continue to exist is perfectly normal. Expecting the caller to do anything at all clever just because it is calling a method which has a ...
Martin Kochanski's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible