Advantage of having multiple xib files?

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

  1. macrumors 65816

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


    Jun 15, 2000
    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. macrumors newbie

    Nov 26, 2009
    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

  4. Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State

Share This Page