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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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