PDA

View Full Version : Delegate UITableView makes the app crash




fernandovalente
Dec 12, 2009, 06:39 PM
Hi, I'm trying to delegate an UITableView. When I do it, the app crashs. I'm using the following code:


IBOutlet id myTable;



Then I delegate it on Interface Builder. Why my app is crashing?



kainjow
Dec 13, 2009, 12:21 AM
You are not providing enough information. Look at the debugger when it's crashing, and post what it shows.

fernandovalente
Dec 13, 2009, 01:34 AM
Problem solved :)

miniApplexus
Dec 2, 2013, 12:21 AM
the most possible reason will be your table view delegate will be getting released somewhere.If you are calling the table view class from another class the there you retain the class containing the table view