Can't get xCode -> IB integration to work.
Can't get xCode -> IB integration to work.
- Subject: Can't get xCode -> IB integration to work.
- From: Richard Stacpoole <email@hidden>
- Date: Sun, 4 Nov 2007 16:46:08 +1100
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?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden