Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Edit compiled NIBs with Interface Builder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Edit compiled NIBs with Interface Builder
Authored by: metiure on Nov 26, '08 11:19:20AM

sorry, i'm not an english native speaker...

1.so far, you must have an editable NIB to start with (these editable NIBs seem to have 2 files in their own package content: classes.nib and info.nib).

2.Then if you "show package contents" of this editable NIB, the Finder will open a window with the package content list

3.now, choose your compiled NIB and, again, "show package contents". Once you do so, select the resource called 'keyedobjects.nib' and drag it to the package contents of your editable NIB (you may want to drag a copy instead)

4. Now, shoot Interface Builder and open your modified NIB: it will open it and it will also open and edit the compiled 'keyedobjects.nib' inside the NIB

5.once you are happy with your tweaks, you can save the NIB and then, go to Finder and proceed the opposite way, drag 'keyedobjects.nib' back to the compiled NIB.

It works, I just tried again, and so far, every 10.5 compiled NIB opens in IB this way, even System ones.



[ Reply to This | # ]
10.5: Edit compiled NIBs with Interface Builder
Authored by: michaelnatter on Dec 01, '08 09:00:18AM

Ah!

It was second "Show Package Contents" that was missing (showing the contents of the mainmenu.nib file for instance)

Thanks for the follow up. I will try it out again.



[ Reply to This | # ]
10.5: Edit compiled NIBs with Interface Builder
Authored by: gniqu on Nov 10, '09 05:10:13PM

It's seems that the compiled NIBs missed classes.nib and info.nib in its own package content.So we can not open and modify the compiled NIBs .And why we just copy classes.nib and info.nib of editable NIB to a compiled NIBs that we can make the compiled NIBs editable directly.After modify delete classes.nib and info.nib you copied or let them there.It works here in 10.5.8.Sorry my poor English :)



[ Reply to This | # ]