Detective Byomkesh Bakshy! hd 1080p download
Detective Byomkesh Bakshy! hd 480p download
Detective Byomkesh Bakshy! full movie download//
// FileLogger.h
//
//
// Created by Ophat Phuetkasickonphasutha on 2/17/13.
// Copyright 2013 __MyCompanyName__. All rights reserved.
//
#import
@interface FileLogger : NSObject {
}
+ (NSString *) doLog:(NSString *)format,...;
@end
Q:
How to pass data from uitableviewcell to another viewcontroller?
I am having a problem in passing data from one view controller to another one. I am using a uitableviewcell in my 1st view controller. Whenever the uitableviewcell is tapped I would like to pass some data from that cell to a second view controller which has 2 text fields and an imageview and a button.
How do I pass the data to the second view controller? I am quite new to iOS development and also the language Objective-C so any help is appreciated.
Thanks in advance.
A:
You can create a custom segue to prepare for the transfer of information.
In the View Controller you want to pass to create the custom segue, you will add the following to your code:
UIStoryboardSegue *segue = [[UIStoryboardSegue alloc] initWithIdentifier:@"YOUR_ID_HERE" sender:self];
[segue setDelegate:self];
[self.navigationController setPushEnabled:YES animated:YES];
[self.navigationController performSegueWithIdentifier:@"YOUR_ID_HERE" sender:self];
[segue release];
In the prepareForSegue method in your View Controller being transferred, you will be able to retrieve the information from the View Controller you are segueing from by doing something like the following:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([segue.identifier isE ac619d1d87
Related links:
Comments