Is there a way to convert NIB
files to XIB
files so that I can open them in Xcode 4? Once I have edited them, is there a way to convert them back to NIB
?
Once a nib file has been flattened and stripped (which is now a default part of the compilation process), then it is challenging to open it in IB. You may want to look at NibUnlocker, which is useful in converting a flattened nib file into xib, but it is not a lossless round-trip and it may not even work in all cases. As with most decompilers, much of the useful editing information has already been thrown away.
For more information on xib compilation, see ibtool(1).
I have made a simple application to accomplish this task, here is the link: NibToXibConverter
Here is the code: NibToXibConverter@github
Hope it helps :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With