不使用 Interface Builder 修改 Nib 文件
我想知道是否有任何方法可以直接操作 XIB/NIB 文件而不使用 Interface Builder。我知道这很难,但是有什么办法吗?您能告诉我如何做到这一点或内部结构或可用的文档吗?以及以其他方式可行或更好吗?
问候,
维韦克
I was wondering if there is any way to directly manipulate the XIB/NIB files without the use of Interface Builder. I know its difficult but is there any way. Can you please tell me how can I do that or the internal structure or the documentations available on it? And will it be feasible or better in any other way.
Regards,
Vivek
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Xib/Nib 文件是 XML 文件,您可以使用每个文本编辑器编辑它们。
我不建议那么强硬,如果您想更好地控制您的应用程序,只需以编程方式创建您的视图即可。这样做的一些介绍可能是: http://chris-software.com/index.php/2009/04/29/creating-a-view-programmatically/ 进一步阅读以从应用程序中完全删除笔尖:http://www.steili.com/wordpress/2009 /02/25/building-an-iphone-app-without-interface-builder/
Xib/Nib files are XML files, you can edit them with every Texteditor.
I wouldn't recomend that tough, if you want more controll over your app, simply create your views Programmatically. A little introduction for doing so might be: http://chris-software.com/index.php/2009/04/29/creating-a-view-programmatically/ further reading to remove nibs completely from your app:http://www.steili.com/wordpress/2009/02/25/building-an-iphone-app-without-interface-builder/