viewcontroller

Discussion in 'iOS Programming' started by chhoda, Dec 13, 2008.

  1. macrumors 6502

    Joined:
    Oct 25, 2008
    #1
    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
     
  2. macrumors 65816

    Joined:
    Jun 29, 2007
    #2
    UIViewController *test = [[UIViewController alloc] init];

    ?
     

Share This Page