不使用 Interface Builder 修改 Nib 文件

发布于 2024-09-16 12:35:51 字数 137 浏览 4 评论 0原文

我想知道是否有任何方法可以直接操作 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

靖瑶 2024-09-23 12:35:51

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文