Re: IB not updating header file
Re: IB not updating header file
- Subject: Re: IB not updating header file
- From: Daniel Jalkut <email@hidden>
- Date: Sun, 30 Oct 2005 23:32:31 -0500
It's true that changes made in IB don't automatically update the
source file. But to just leave it at that omits a very useful feature
that works the other way 'round.
Basically, when you want to add a new outlet, add it to the header
file first, and then drag the .h file to the nib "instances" window
for the nib you want to be updated. For instance, if you add this
instance variable to "MyController.h"
IBOutlet* oBitsyThingy;
Then drag it to MainMenu.nib, the nib now knows about the outlet in
MyController.
I agree it's confusing that IB supports the "Create Files"
functionality but that it then becomes more or less useless after the
first creation.
Daniel
On Oct 30, 2005, at 6:26 PM, Gen Kiyooka wrote:
That doesn't happen automagically. You need to choose "Classes/
Create Files", and then merge the new outlets into the existing
files instead of creating new ones.
Really? That's wild. Visual C++ has been able to do this since 1993.
Not that I use VC++ anymore.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden