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-07-2010, 08:19 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 7
dannyboy194 is on a distinguished road
Default Editing Table View controller

Hi,
I was wondering how to edit the table view controller so I can edit it with different names such as football teams/football stars etc?
Thanks
dannyboy194 is offline   Reply With Quote
Old 07-07-2010, 08:29 AM   #2 (permalink)
Registered Member
 
Join Date: Mar 2010
Location: Tennessee
Posts: 23
DevinSnipes is on a distinguished road
Default Ok

When you say edit it to say different names, do you mean in the RootViewController when declaring the tableView names, or adding cells into the already created tableView? Be specific, I'd love to help.
__________________
-Regards,

Devin Snipes
My Website
Follow Me on Twitter

My AppStore Apps:
Am I Ugly(Free)
uChat For iPhone(Free)
MCS For iPhone(Free)
DevinSnipes is offline   Reply With Quote
Old 07-07-2010, 08:41 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 7
dannyboy194 is on a distinguished road
Default

Sorry, I mean the rootview controller when declaring the table view names.

Sorry about that.

Thanks!
dannyboy194 is offline   Reply With Quote
Old 07-07-2010, 08:45 AM   #4 (permalink)
Registered Member
 
Join Date: Mar 2010
Location: Tennessee
Posts: 23
DevinSnipes is on a distinguished road
Default

Well, there are a few ways to do it. You can begin by declaring the following:

RootViewController.h:
NSMutableArray myArray;

RootViewController.m:
- (void)viewDidLoad {
myArray = [[NSMutableArray alloc] init];
[myArray addObject:@"My Team Goes Here"];
[mcsList addObject:@"My Team Goes Here"];
}

I hope I helped!
__________________
-Regards,

Devin Snipes
My Website
Follow Me on Twitter

My AppStore Apps:
Am I Ugly(Free)
uChat For iPhone(Free)
MCS For iPhone(Free)
DevinSnipes is offline   Reply With Quote
Old 07-07-2010, 09:11 AM   #5 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 7
dannyboy194 is on a distinguished road
Default

Thank you.
This is going to sound like a very stupid question, is there anyway to edit this in the interface builder? Or do I have to place it in the RootViewController.h file?

Sorry I am a complete at utter new person to this. Sorry.
dannyboy194 is offline   Reply With Quote
Reply

Bookmarks

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: 335
9 members and 326 guests
bignoggins, Chickenrig, firecall, givensur, iNet, michaelhansen, Objective Zero, PlutoPrime, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,893
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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