Nillifying UITableView Delegates of VC on Dealloc
Best practice in iOS development, to prevent crashes of applications: When a delegate of a UITableView is a UIViewController that is just deallocated, the reference of the UITableView to the VC must be removed, as it might be accessed during the animation of the VC removal and lead to bad access error. Continue reading