将NIB文件转换为XIB文件 [英] Convert NIB Files to XIB Files

查看:579
本文介绍了将NIB文件转换为XIB文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将NIB文件转换为XIB文件,以便可以在Xcode 4中打开它们?编辑完它们后,有没有办法将它们转换回NIB?

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?

推荐答案

一旦将nib文件拉平并剥离(这是编译过程的默认部分),那么在IB中打开它就具有挑战性.您可能需要查看 NibUnlocker ,它在将扁平化的nib文件转换为xib时很有用,但这并不是无损的往返而且它可能并非在所有情况下都有效.与大多数反编译器一样,许多有用的编辑信息已被丢弃.

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.

有关xib编译的更多信息,请参见 ibtool( 1).

For more information on xib compilation, see ibtool(1).

这篇关于将NIB文件转换为XIB文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆