How does Interface Builder link with Xcode?
How does Interface Builder link with Xcode?
- Subject: How does Interface Builder link with Xcode?
- From: Justin Bur <email@hidden>
- Date: Fri, 16 Dec 2005 15:17:11 -0500
How does Interface Builder decide whether or not it's going to speak
with Xcode? No obvious way that I can tell.
Case 1: I copied a nib file from a sample project, added it to my own
project, and modified it for my purposes. Although it was in my Xcode
project, Interface Builder refused to believe there was any
connection. I finally had to copy images directly into the nib to be
able to use them. The Nib tab of the main window in IB said the
Project Name and Folder were "N/A".
Some time later, I noticed that new images in my project were now
showing up in this nib. I deleted the copies from inside the nib and
they continued to be seen (via the project). The Project Name and
Folder on the Nib tab were now set correctly. Unfortunately I did not
notice the precise moment or situation at which IB and Xcode made
their connection.
Case 2: We reorganized our CVS tree. I still have my old sandbox
lying around (in which the old Xcode project and old nib files
communicate nicely) but I also have a new sandbox with the same nib
files in their new locations, and a new Xcode project. The new
project was generated from the old one by editing the paths in its
project.pbxproj file. Interface Builder does not consider that any
nibs belong to this project. I can double-click the localized nib in
the Xcode project window to open it in IB, and still IB insists that
Project Name and Folder are "N/A". No images are available.
What is going on here? What secret incantation will cause IB to
recognize an Xcode project? Why isn't there a command somewhere to
repair this manually, since it seems to be so fragile?
In case it matters, my nibs exist only in French localization. There
is no English version.
justin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden