Advantage of having multiple xib files?

Discussion in 'iOS Programming' started by detz, Aug 28, 2008.

  1. detz macrumors 65816

    Joined:
    Jun 29, 2007
    #1
    Is there a reason you would want a new one for each view?
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Usually you use multiple nibs so that they're only loaded on demand, to reduce memory usage. It's also good management and it forces you to use better designs.
     
  3. sapplesystems macrumors newbie

    Joined:
    Nov 26, 2009
    #3
    Hi All,

    I am new to Iphone programming. So please don't mind if I ask some basic questions. :mad:

    I want to develop an application where the landing screen will be a login screen and after login application should display a new screen with the list of available categories. And on selecting any category a new screen should appear with the information related to the selected category.

    Basically I want to display different screens in the applications and my confusion is how can I make different screens with one .xib file? or should I use different .xib files for each screen. If I use different .xib files for each screen then how should I navigate to different screens.

    Please help in solving this confusion.


    Thanks in advance

    Gaurav
     

Share This Page