 |
 |
|
 |
07-10-2009, 05:15 PM
|
#1 (permalink)
|
|
New Member
Join Date: Jul 2009
Posts: 1
|
Tab Bar, Navigation Controller and a table view, all in one!?
Hello everyone I'm new on this forum. I found it because I'm stuck on developing for a week, and tried to find a solution on the internet..
What I'm trying to do is this:
When you open the ap, you get a tab bar with eg 3 items A,B and C. When you tap A, you get a table, lets say with a few rows called 1, 2 and 3.
Now when you tap on 1, you move on to the next view level, and there you get an image of an iPhone for example.
I have found several great tuturials about all 3 of them single, but not a combination it.
Anyone knows how to handle this?
Jelle
|
|
|
07-10-2009, 06:38 PM
|
#2 (permalink)
|
|
Registered Member
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 152
|
|
|
|
07-11-2009, 12:17 PM
|
#3 (permalink)
|
|
Registered Member
Join Date: Jan 2009
Location: Atlanta
Posts: 340
|
You can't go wrong with O'Reilly.
|
|
|
07-15-2009, 03:25 PM
|
#4 (permalink)
|
|
Registered Member
Join Date: Jul 2009
Posts: 22
|
hi guys
I wanted to do the exact same as Jelloke, and have looked through the o'reilly video which is great, except that the table view does not link to a new view, but rather generates a details view from the table data...
I am sure I am doing something really stupid and would love some help.
when table cell "Case 1" is tapped I want Case01.xib to be called into view.. this is the code I have, but clicking does not work. The cell goes blue when tapped and that is it. no crash but no new view.
Code:
if ([[tableList objectAtIndex:indexPath.row] isEqual:@"Case 1"])
{
Case01 *case01 = [[Case01 alloc] initWithNibName:@"Case01" bundle:nil];
[case01 setTitle:@"Case 1"];
[self presentModalViewController:case01 animated:YES];
}
I suspect the last line is wrong.. but I can't work it out...
Thanks in advance
Last edited by bigbad; 08-21-2009 at 08:34 AM.
|
|
|
08-21-2009, 05:31 AM
|
#5 (permalink)
|
|
Registered Member
Join Date: Aug 2009
Location: Melbourne, Australia
Posts: 12
|
Quote:
Originally Posted by JCooperman
|
I just found that handy tutorial last night. Can't go wrong with it
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 497 |
| 55 members and 442 guests |
| 3DTOPO, ackpth, AjohnB, Alchemda, alon7, amiralic, andrewjak, asimrs, bbc z, beginer2007, bixcoito, bluemonkey, BostonMerlin, BrianSlick, Centurion Games, cornishGeeza, crabFish, dany88, eatenbyrats, embedded, ggalante, gonk, gralem, greenuns, Gudus, healthyutech, iMoan, IphoneSdk, itakenocrud, john855, JoshuaCaputo, Kalimba, MarkC, mebarron, MikeBlah, mlfarrell, mriphoneman, MrMattMac, msudan, muallin, nibby, Noise, Oliver Drobnik, PeddlePower, pereorra, pierrephi, pjklimtx, Pring, ryguy2503, StefanL, tcarte04, the1nz4ne, ustech001, wuf810, ZunePod |
| Most users ever online was 779, 05-11-2009 at 10:55 AM. |
» Stats |
Members: 21,510
Threads: 35,794
Posts: 156,817
Top Poster: smasher (2,449)
|
| Welcome to our newest member, dmf1978 |
|