How to use multiple segue
How to use multiple segue
- Subject: How to use multiple segue
- From: Vavelin Kevin <email@hidden>
- Date: Fri, 20 Jul 2012 16:21:21 +0200
Hi there,
I have some segue on my storyboard view, and i want to show the right view related to an index into a "cover flow". I don't know how to use segue 'cause it's the first time that i used more than one in a element.
I connected all my segue to my UIView and I want that when I tap on my button, I load my view with the index of my carousel. I thought this function will be good but… :
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if ([[segue identifier] isEqualToString:@"formSegue"]) { [segue destinationViewController]; } }
-(IBAction)ouvrirApplication:(id)sender { if([carousel indexOfItemView:carousel] == 0) { [self performSegueWithIdentifier:@"formSegue" sender:self]; } }
I don't know how can i choose multiple segue :/ it's not very clear for me. Do you have an idea ?
Thanks for your answer.
Cheers,
Vavelin Kévin Developer OS X / iOS
|
_______________________________________________
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