Hey all,
I'm working with an app that has a tab bar controller toggling between two navigation controllers. These navigation controllers each contain an instance of the same subclass of UITableViewController. The instances differ only by an instance variable that determines what data the controllers will display in their tableViews.
My problem is that, in ONE of these views, the app crashes when a cell that has scrolled offscreen is about to return to the view. Through NSLogs, I know that the app successfully gets to the end of the cellForRowAtIndexPath method before crashing. What I don't understand is why this should happen to one tableview but not the other, when the code that governs them is virtually identical.
The one that crashes is the first view that is loaded in the app, but other than that I can't think of a difference that would be related to this problem.
any ideas?
Thank you!
Charie
I'm working with an app that has a tab bar controller toggling between two navigation controllers. These navigation controllers each contain an instance of the same subclass of UITableViewController. The instances differ only by an instance variable that determines what data the controllers will display in their tableViews.
My problem is that, in ONE of these views, the app crashes when a cell that has scrolled offscreen is about to return to the view. Through NSLogs, I know that the app successfully gets to the end of the cellForRowAtIndexPath method before crashing. What I don't understand is why this should happen to one tableview but not the other, when the code that governs them is virtually identical.
The one that crashes is the first view that is loaded in the app, but other than that I can't think of a difference that would be related to this problem.
any ideas?
Thank you!
Charie