I have a problem and I cannot figure out what is going on
I have a tableview and I have a property names newsData.
I setup everything and its working fine!
Then in the simulator I call memory warning to see how the app is working.
I can see that the tableview is being released and when I call back the viewdidload I can see that this array is now class CALayerArray!!!
When I try to access it my program crashes!
What is going on?
Thanks for your help.
Have you reallocated tableview within the viewdidload call? After you released it you need to do that. You might want to set your tableView nil after releasing it, in order to avoid the crashes (This still requires you to reallocate and initialize the tableView after you released it!)
Clearification: I dont mean, you need to set any object nil after you released it! But after releasing it, you should be aware of the object being already released!