I want to know what the difference is between before freeing my [super delloc] object and after freeing my line object [super delloc]
For example, Before ..
- (void)dealloc { [theAudioPlayer stop]; [soundFilePath release]; [theAudioPlayer release]; [super dealloc]; }
Now after the release of the object ..
- (void)dealloc { [super dealloc]; [theAudioPlayer stop]; [soundFilePath release]; [theAudioPlayer release]; }
When I used the 1st case, and I switched to my viewController first from 1st to 2nd class, viewController and returned from 2nd to 1st again, then it will give me some error, something like the following console .
#0 0x02d29c93 in objc_msgSend ()
source share