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? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -