Dynamic Prototype Cell and Segues
Dynamic Prototype Cell and Segues
- Subject: Dynamic Prototype Cell and Segues
- From: Vavelin Kevin <email@hidden>
- Date: Mon, 20 Feb 2012 19:46:18 +0100
Hi all,
I try to make a segue for each row in my TableView that i manage with an identifier. And i'm just blocked right now.
I have one row on my storyboard, i fill my tableView with this method :
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *MyIdentifier = @"MyIdentifier";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
if (cell == nil)
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier];
// Configuration de la cellule
NSString *cellValue = [laboratoire objectAtIndex:indexPath.row];
cell.textLabel.text = cellValue;
return cell;
}
And the problem is i don't know how can i manage my application for each row have a view, do i add more row on storyboard and define it on my masterViewController.m ?
Thanks for help.
--
Vavelin Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden