Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (UITableViewCell *)tableView:(UITableView *)tableView
- cellForRowAtIndexPath:(NSIndexPath *)indexPath
- {
- static NSString *cellIdentifier = @"MyDisclosureCell";
- UITableViewCell *cell =
- [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
- if (cell == nil)
- {
- cell =
- [[[UITableViewCell alloc]
- initWithFrame:CGRectZero
- reuseIdentifier:cellIdentifier]
- autorelease];
- cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
- }
- // Configure the cell
- cell.text = label;
- return cell;
- }
Add Comment
Please, Sign In to add comment