• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IB not updating header file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: IB not updating header file
      • From: Daniel Jalkut <email@hidden>
References: 
 >IB not updating header file (From: Gen Kiyooka <email@hidden>)
 >Re: IB not updating header file (From: Sherm Pendley <email@hidden>)
 >Re: IB not updating header file (From: Gen Kiyooka <email@hidden>)

  • Prev by Date: Re: Segfault when releasing autorelease pool
  • Next by Date: Re: IB not updating header file
  • Previous by thread: Re: IB not updating header file
  • Next by thread: Re: IB not updating header file
  • Index(es):
    • Date
    • Thread