Paste: prob pushing

Author: Jowza
Mode: objective-c
Date: Wed, 16 Sep 2009 20:57:05
Plain Text |
-(void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath
{
	if(transDetailController == nil)
		transDetailController = [[TranscriptionDetails alloc] initWithNibName:@"TranscriptionDetails" bundle:nil];
	
		transDetailController.title = @"Transcription Information";
	NSInteger row = [indexPath row];
	
	NSString *selectedFile = [self.listData objectAtIndex:row];
	
	transDetailController.message.text = selectedFile;
	Scribe_Direct_MobileAppDelegate *delegate = [[UIApplication sharedApplication] delegate];
	UINavigationController *nav = (UINavigationController *)delegate.controller.view;
	[nav pushViewController:transDetailController animated:YES];
	
}

New Annotation

Summary:
Author:
Mode:
Body: