uitableviewdatasource

EXEC_BAD_ACCESS with cellForRowAtIndexPath, again...

Hi everyone, i've another problem with the UITableView, app crashes after reloading tableView after loading data from internet, the crash happens in marked place in cellForRowAtIndexPath methood. I thinnk i still don't fully understand what actually mean recycling cells. Thanks for any help - (UITableViewCell *)tableView:(UITableView *...

Potential leask of an object, Biuld and Analyze, viewForHeaderInSection

Hi again, i've just mad Build and Analyze with my project on iphone, and i got warning from analyzer which i don't understand, this is my function: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deselectRowAtIndexPath:indexPath animated:YES]; NSLog(@"user did select row ...

interesting UITableView Datasource behavior

So i have this very basic ipad view controller and i was doing some testing with multiple UITableViews in the same view. The issue I was having was when I selected a row, it would throw a EXC_BAD_ACCESS so I turned on the stack logging and found this *** -[VCTables tableView:didSelectRowAtIndexPath:]: message sent to deallocated instan...

reloading a tableview source when data is called from appDelegate

I have a table based app that stores data on a mysql server, it gets updated and writes the data to nsdictionary for persistance. When you make a change to the data, the table need to update. However if I put a [self tableview reloadData] the app crashes when selecting a row. Does anyone have an Idea on how to make the table refresh happ...

memory leak with UITableViewDataSource data?

Hi i have found a problem with my DataSource of my UITableView. Each time i try to fill the NSMutableArrayData in the method "addDataSection", the whole data-Array is set to the current Names-Array. It all seems to work, until i write the Names into the Array and invoke [Names removeAllObjects]. Even in the method "addDataSection" my Na...