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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-15-2009, 03:25 PM   #4 (permalink)
bigbad
Registered Member
 
Join Date: Jul 2009
Posts: 29
Default

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.
bigbad is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,737
Threads: 89,193
Posts: 380,538
Top Poster: BrianSlick (7,129)
Welcome to our newest member, powerofattorneyform
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:54 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.