PDA

View Full Version : viewcontroller




chhoda
Dec 13, 2008, 08:30 AM
Is it possible to init a viewcontroller without using the nib file ? I was looking at the movie player example. I see a uiview controller member variable but never see the code where it gets initialized. Also when i try to open the main nib file it does not open, indicating it might be empty.

thanks and regards
ch



detz
Dec 13, 2008, 08:37 AM
UIViewController *test = [[UIViewController alloc] init];

?