views:

30

answers:

0

Hi all, I have this problem: I have my code into my view that connect to internet to retrieve some info and populate a uitableview, and works fine.. To make order to my code I created my class derived to nsobject and I added all my code inside it... the table is populated, but the app retrieve bad_access... I think that the problem is that on the viewDidLoad I instance my new object to my class, and I think that when the viewDidLoad is ended, the instance is destroyed... How can I solve this?? I need to set some particular things in the declaration of my class?? thanks in advance