Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Examining IB generateed code

Examining IB generateed code
Thread Tools
Junior Member
Join Date: Oct 2000
Location: Londonderry, VT USA
Status: Offline
Reply With Quote
Dec 2, 2000, 12:41 PM
 
Is there a way I can see the "code" when an interface built with Interface Builder (IB) is added into a PB project. I know the template code for "actions" is inserted as text, but where is the "code" (object links) that results when I specify an object ( class instance) and endow it with connections to other objects? For example, I can use IB to specify a window and put a text edit box in that window. Furthermore, I can "connect" my window to the text edit box, and connect my text edit box to an "action". When all of this is done and added to the PB project, all I see is the code template for the action. Where is the rest of the "real" code?
     
ali
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Dec 2, 2000, 03:51 PM
 
IB does not generate code; it generates "nib" files which contain archived objects. At runtime, the nib file is loaded, the objects are read from the archive (with all their attributes set as specified in IB), instantiated, and all the connections between them made.

The code that is generated is just the template for objects you defined in IB; they are generated as a convenience.

Ali
     
rpeskin  (op)
Junior Member
Join Date: Oct 2000
Location: Londonderry, VT USA
Status: Offline
Reply With Quote
Dec 2, 2000, 11:20 PM
 
Thanks, this is just the information I was looking for.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:19 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2