Re: Updating the .m and .h file
Re: Updating the .m and .h file
- Subject: Re: Updating the .m and .h file
- From: Marc Weil <email@hidden>
- Date: Tue, 29 Apr 2003 21:35:41 -0400
Just make the changes in your .h file and then drag the file from your PB
files list into the IB window with your windows and instantiated classes and
it will update in the nib. However, you'll have to manually create any new
functions that you define the .m file. Not too difficult though. :-)
-- Marc Weil
On 4/29/03 9:04 PM, "Michael Hanna" <email@hidden> 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.