티스토리 뷰

// Customize the appearance of table view cells.
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease];
        // 테이블셀 오른쪽 끝에 > 나타내기
        cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
    }
    ......
    //cell.textLabel.text = @"row";
    return cell;
}
댓글