iphone - Reloading string in TableView Cell -
alright heres deal. have sports app want update scores (parsed website) in tableview when viewdidappear or when user scrolls through list. updating text of label present in cell without putting function in cellforrowatindex making performance awful.
i have tried loading images asynchronously in tableview using nsurlconnection without luck(only 1 loading table). wondering if has done before , me.
- (void)reloadrowsatindexpaths:(nsarray *)indexpaths withrowanimation:(uitableviewrowanimation)animation;
apple ios reference library here
nsarray *indexpaths = [[nsarray alloc] initwithobjects:[nsindexpath indexpathforrow:row insection:section], nil]; [(uitableview *)self.view reloadrowsatindexpaths: indexpaths withrowanimation: uitableviewrowanimationtop]; [indexpaths release];
Comments
Post a Comment