• 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: Updating the .m and .h file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating the .m and .h file


  • Subject: Re: Updating the .m and .h file
  • From: Glen Simmons <email@hidden>
  • Date: Tue, 29 Apr 2003 20:32:59 -0500

2 ways to go: 1. you can add the outlets / actions in IB and then when you choose "Create files for ..." you'll get the option to "Merge". 2. you can add them in PB and then drag the .h file into the IB window, or go to the classes tab, choose your class and "Read files for ..."

HTH
Glen

On Tuesday, April 29, 2003, at 08:04 PM, Michael Hanna wrote:

After coding in PB for a bit, I realized I've forgotten to add outlets to certain buttons in IB.

How do I edit the nib file(by adding the new outlets in IB) and then update my corresponding .m file without destroying the coding I've done?

Is it safe to just add the field declarations in IB, create the outlet connections, then go into PB and edit the .h file, making sure the types are correct and the names are exactly the same?

regards,
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Updating the .m and .h file
      • From: Andrew Thompson <email@hidden>
References: 
 >Updating the .m and .h file (From: Michael Hanna <email@hidden>)

  • Prev by Date: Updating the .m and .h file
  • Next by Date: Re: Updating the .m and .h file
  • Previous by thread: Updating the .m and .h file
  • Next by thread: Re: Updating the .m and .h file
  • Index(es):
    • Date
    • Thread