About nib files

Discussion in 'iOS Programming' started by mikezang, Jun 3, 2010.

  1. mikezang
    Expand Collapse
    macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    I found two examples of "Hello World", one has nib files, one has no.

    What is the difference between with or without nib?
     
  2. dejo
    Expand Collapse
    Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    The simplified difference is whether you want to code your interface programmatically (without nibs) or via Interface Builder (with nibs). And you can also mix-and-match. Some parts done with nibs, others not. You can even alter the interface specified by the nib after the fact via the program.
     
  3. mikezang
    Expand Collapse
    thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #3
    I found the upgrade to universal project for both iPad/iPhone is not work when a project with nib files, it seems like the nib files are not displayed, only black screen showed.

    Do you know why?
     
  4. dejo
    Expand Collapse
    Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    Since you already have an existing thread on this topic, let's restrict discussion of this issue in there. And, no, I don't know why.
     
  5. mikezang
    Expand Collapse
    thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #5
    I asked again, because experts answer my question:(:confused:
     

Share This Page