• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dynamic Prototype Cell and Segues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Dynamic Prototype Cell and Segues
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: 4.3 question and old Developer folder
  • Next by Date: Re: One-click multi launch?
  • Previous by thread: Re: One-click multi launch?
  • Next by thread: Re: Dynamic Prototype Cell and Segues
  • Index(es):
    • Date
    • Thread