Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-05-2011, 05:46 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 1
Dionoh is on a distinguished road
Exclamation I want a tableview with text + Tab Bar App

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:
Code:
#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 really hope if you guys could help me.

Thanks

Last edited by Dionoh; 07-05-2011 at 06:25 AM.
Dionoh is offline   Reply With Quote
Reply

Bookmarks

Tags
development, problem, tabbar, tableview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 351
9 members and 342 guests
apatsufas, chemistry, lendo, leostc, Leslie80, lzwasyc, MarkC, SamorodovAlex, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,664
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Leslie80
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:33 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0