Page inherited UITableViewController
- (Void) viewDidLoad {
[Super viewDidLoad];
/ / Fetch data
DownloadHelper * down = [[DownloadHelper alloc] initWithDelegate: self];
[Down SoapAccessService: @ "sz" MethodAndName: @ "GetHolidays"];
[Down release];
}
/ / DownloadHelper protocol methods
- (Void) didFinishDownload: (NSMutableArray *) array {
self.listData = array ;/ / get the data source
}
The question is, I have yet to get to the data source has been first bound UITableView?
How can I modify requests you up! ! !
Reply:
Where people up? ? ?
Reply:
After obtaining the data [tableview reloadData]
- (Void) didFinishDownload: (NSMutableArray *) array {
self.listData = array ;/ / get the data source
[Tableview reloadData]
}
Reply:
self.listData
Landlord bit unclear circumstances,,,,
/ / My data source has yet to get to the first bound UITableView
What specific means? There is no data, or what circumstances
First, you set a breakpoint to see the array has not been received and saved to the data
Then, there is no refresh the list [tableview reloadData]
Reply:
[Tableview reloadData] Using this you can use. . . Thank you ~ ~ ~
No comments:
Post a Comment