objective c - xcode 5 dealloc void ARC Error -


i error (arc forbids explicit message send of 'dealloc'), if write:

- (void)dealloc {     self.slider = nil;     self.tabbar = nil;     [super dealloc];  } 

hope can me. lot answering.

remove [super dealloc], it's automatic under arc.

should just:

- (void)dealloc {     self.slider = nil;     self.tabbar = nil; } 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -