1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1; }
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return tableViewData.count; }
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *iden = @"xxxxx"; UITableViewCell *cell = [self.tableView dequeueReusableCellWithIdentifier:iden]; if (cell==nil) { cell=[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:iden]; } return cell; }
|
近期评论