It looks like you're new here. If you want to get involved, click one of these buttons!
[B][I]#import \"SecondViewController.h\"
@implementation SecondViewController
@synthesize problems;
- (void)viewDidLoad {
[super viewDidLoad];
self.problems = [[NSArray alloc] initWithObjects:@\"Clancy, Thomas\",
@\"Lehane, Dennis\", nil];
self.title = @\"Authors\";
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
[super viewDidLoad];
}
*/
- (BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
- (void)didReceiveMemoryWarning
{
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Release any cached data, images, etc. that aren't in use.
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}
- (void)dealloc
{
[super dealloc];
}
@end
[/I][/B]