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-11-2011, 10:07 PM   #1 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 10
Ouija is on a distinguished road
Default Help on table view app

Hey guys,

My app is almost exactly like the alarm app that comes with the iPhone. Users have the ability to add/edit/delete cells and each cell goes to the same view when tapped. My only problem is that I cannot get the part where it loads a view from each cell created by the user. All the coding for the table was manually done in the appdelegate.m. I've tried adding navigationController and adding a code to load the view in "didSelectRowAtIndexPath" method but it's not working. Thanks
Ouija is offline   Reply With Quote
Old 07-11-2011, 10:30 PM   #2 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,565
Domele is on a distinguished road
Default

First off, you really shouldn't be putting any code besides handling app events in the app delegate. Two, posting some code would help.
Domele is offline   Reply With Quote
Old 07-12-2011, 10:03 AM   #3 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 10
Ouija is on a distinguished road
Default

That's what I was thinking, my friend helped me with most of this since i'm kinda new. Should I just make a new one and have the table inside a nav controller? So that in the "didselectrowatindex" method I can just have the navigation controller push each cell onto the view.
Ouija is offline   Reply With Quote
Old 07-12-2011, 10:09 AM   #4 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1,106
Meredi86 is on a distinguished road
Default

OK:
Make a new app - any kind of template will do, preferably the one you plan on using for most of the app though. (i use window based as there is little to get in the way or alter)

In the app didfinishLaunching add your second view where you will do all the work mine does this:
Code:
[window addSubview:tabBarController.view];
Then you are in a view/nav controller that you can do what you want in without cluttering the AppDelegate.

Try what you have in that new controller and report back if it still doesnt work
Meredi86 is offline   Reply With Quote
Old 07-12-2011, 12:58 PM   #5 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 10
Ouija is on a distinguished road
Default

Ahh yeah I get what you're saying, that should work, I'll try it out soon. Thanks for your help dude!
Ouija is offline   Reply With Quote
Reply

Bookmarks

Tags
cell, load, tableview, view, xcode

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: 370
9 members and 361 guests
apatsufas, chemistry, Kirkout, leostc, lzwasyc, MarkC, Sami Gh, 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:38 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0