Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

I want a tableview with text + Tab Bar App

DionohDionoh Posts: 1New Users
Hi,

I am new with XCode, But i really want to make this app perfect. so i have a question for you guys.

I'm making a application with a tabbar and tableview in it.

but i started with the tabbar application from File>New Project> Tabbar Application.

And in this application i want to make a tablevieuw but i have 3 controllers.

FirstViewController.m +.h
SecondViewController.m +h
ThirdViewController.m + .H

+ the XIB files.


Now in the secondviewcontroller i want to make a tablevieuw.

This is the code that i have:

[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]


I really hope if you guys could help me.

Thanks
Sign In or Register to comment.