Skip navigation.
 
mlCan't get xCode -> IB integration to work.
FROM : Richard Stacpoole
DATE : Sun Nov 04 06:46:08 2007

Hi,

I am trying to finish the Objective-C 2.0 example of the Currency 
Converter app.  But i can't get IB to read the CurrencyController.h, 
either from the Read Files menu item or from dragging & dropping the 
file from xCode to the IB window, so I have some outlets and actions 
to connect to the UI.  The blue cube representing the controller 
never appears.  I have tried with several new projects, both 
following the instructions and trying to get the process to work with 
a single IBOutlet and IBAction.  I have also tried with a combination 
of floats, ints, NSStrings etc.

There appears to be no console messages or other form of output from 
IB to tell me what is wrong.  The button in the lower left corner of 
the main IB object window is green with the name of the project.  The 
project info screen in IB shows the name of the project and the path 
are both correct.

I have taken these steps to try to fix the problem.
1. Deleted the /Developer folder and re-installed the developer tools.
2. Formatted the drive and reinstalled Leopard and the developer tools.
3. Downloaded the companion files project code from Apple.

This is where it got interesting.  The Apple project code worked 
perfectly; I could add IBOutlets in xCode and the changes would 
appear in IB.  But if I copied the CurrencyController.h file from the 
Apple project to any my projects, IB still won't create the blue cube.

If it makes any difference it is a white 20" iMac with completely 
default settings.

Has anyone else had this problem and solved it?

Any other suggestions?

Related mailsAuthorDate
mlCan't get xCode -> IB integration to work. Richard Stacpoole Nov 4, 06:46
mlRe: Can't get xCode -> IB integration to work. Eric Celeste Nov 4, 06:58
mlSOLVED Re: Can't get xCode -> IB integration to work. Richard Stacpoole Nov 4, 08:31
mlRe: SOLVED Re: Can't get xCode -> IB integration to work. mmalc crawford Nov 4, 09:04