Jump to content

iPhone U/IF prototyping with Interface Builder


1 post in this topic

Recommended Posts

I have read the IB user guide and lots of posts related to this subject

 

I am reasonably clear about building iPhone apps programmatically and have done this.

 

I think I understand the basics of how to use IB with Xcode

 

IB user guide suggests that you can use it as a prototyping tool without writing any code in Xcode and then generate the class files

 

It also says you should sue multiple NIB files for memory management

 

What I am not clear about is how you link together multiple NIB files in IB without writing code to do this in Xcode

 

If I create an application with a tab and navigation bar in IB it displays fine in simulator

 

I then create a new Nib file with a table view and set the name of this nib file in the NIB name field of one views of the main nib file

 

IB display "loaded from xyz.nib" and all looks good

 

 

However when I run the simulator for the main nib file, the "child" nib file is not loaded when I switch to the relevant view

 

What am I missing?

 

(Please don't tell me how to do this linking in xcode because I know that but I want to do it just in IB to prove to myself that we could use IB for prototyping the skeleton of a complete application)

 

Thanks

Link to comment
Share on other sites

 Share

×
×
  • Create New...