Français
  • iPhone Development Tutorial - 28 - Adding a root controller


    Added on Monday 07 June 2010 15:47:37
    by thenewboston
    15716 Views
    4.9 / 5
    12345
    40 rates
    Send this video to your friends
    Get embed code of video

    My forum http://thenewboston.com/forum/

    Ask me all questions there as well as view source code for the tutorials!



    facebook
  • Write your comment here...
  • brbracing

    For Xcode 4.2 Users follow this Link. w w w.trappers.tk/site/2011/06/16/mainwindow-xib/. It will show you how to create an AppDelegate object and how to link it all together.
    Wednesday 04 January 2012 14:38:44
  • robertlam18

    @cheesefour Thanks dude you can make a career by adding comment like this to every tutorials.
    Saturday 24 December 2011 22:46:06
  • blackw1z4rd

    Hey when I try to select the nib file it doesn't show me DatePecker,DoublePecker.... For that reason if i write it manually I get an error when I press on the toolbar! Xcode 4
    Thursday 17 November 2011 17:11:23
  • cugs90

    @cheesefour Thanks :-)
    Monday 14 November 2011 01:01:18
  • PrestoMovie12

    I on't even have an AppDelegate thing to drag from in my placeholder or objects in the xib. Can someone please help me? How do I assign the rootController to Tab Bar Controller then?
    Thursday 13 October 2011 00:39:38
  • davedude112

    working on Xcode 4, i can't drag AppDelegate down to Tab Bar Controller... any suggestions?
    Saturday 08 October 2011 01:38:03
  • consoto

    @consoto you will also need to type in the nib name but it should work fine
    Monday 12 September 2011 20:45:27
  • consoto

    @consoto With the help of the people on the forums, the solution to this is that you need to add [self.window addSubview:rootController.view]; in the app delegate implementation file.
    Monday 12 September 2011 20:43:19
  • consoto

    When I go to the dropdown menu for the nib name, nothing shows up. I working in Xcode 4 and I've done everything up to that point. What's the problem?
    Tuesday 06 September 2011 19:29:55
  • cheesefour

    XCODE 4 USERS!: You can simply drag the tab bar over like before, but to add more items to the tab bar simply drag TAB BAR ITEMS. The icon for these is a star. The tab bar items should be the last things in the objects list, or at least right under the tab bar you just dragged over. Hope it helps!
    Monday 29 August 2011 16:43:46
  • thevisages1

    @hiddepolen Did you ever find out how to add items without going manually through the Cocoa objects - I've been batttling for hours now....
    Monday 13 June 2011 22:27:22
  • Patrax

    @hiddepolen Im having the same problem so Im gonna guess youre using Xcode 4 aswell. Please let me know if you found a solution
    Thursday 26 May 2011 04:36:29
  • hiddepolen

    Also, I do not have the TabBarController View Controllers. I cannot add any items, I have to do it manually through the Cocoa objects. I work in xCode 4.
    Friday 22 April 2011 05:09:11
  • hiddepolen

    Hi, When I made my rootController (I did verything you said), I can not select the XIB which has to display with each tab. What did I miss?
    Friday 22 April 2011 04:59:24
  • emrahatilkan

    @TheHackersGambit i dont think he is
    Tuesday 08 February 2011 16:11:17
  • fwz77

    The PNG image must have transparent background to show on the Tab Bar Controller.
    Thursday 11 November 2010 04:49:47
  • tharwat965

    hi all i love your video copy this is my video link see it and live to me comment please
    Thursday 08 July 2010 05:34:40
  • tharwat965

    @Shazcapade haha
    Thursday 08 July 2010 05:33:48
  • Shazcapade

    @TheHackersGambit I guess since the games sector of iPhone apps makes a huge percentage in terms of uptake and revenues, now I want him to do it too! LOL
    Monday 05 July 2010 22:34:27
  • TheHackersGambit

    @Shazcapade its basically a library that lets you do effective 2d and 3d graphics. Which is how most games are made on the iPhone
    Monday 05 July 2010 11:48:14
  • Shazcapade

    @TheHackersGambit may I know what's openGL?
    Sunday 04 July 2010 06:10:57
  • martijn385

    how can you brows in your iphone to the system files etc?
    Wednesday 23 June 2010 12:51:00
  • Stiii

    Epic end.
    Wednesday 23 June 2010 10:13:21
  • Ipoditouchreview3r

    why are all of the letters capitalized except for e?
    Tuesday 08 June 2010 15:06:07
  • iPhpMaster

    @TheHackersGambit YEA!!! Or DirectX!!!
    Tuesday 08 June 2010 03:40:17
ADVERTISEMENT
Supplements
Social Network
Tag cloud