In my applicationDidFinishLaunching: method applicationDidFinishLaunching: I create an object and call the asynchronous method on it, for example:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { Foo *foo = [[Foo alloc] init]; [foo asynchronousMethodWithCompletion:^{
If I do not use ARC, where do I need to put [foo release] ? Inside the termination block (location A) or immediately after calling the asynchronous method (location B)? Or does it not matter at all?
tajmahal
source share