是“模拟界面"吗?在 Xcode 6.0.1 中消失了吗? [英] Is "Simulate Interface" gone in Xcode 6.0.1?

查看:17
本文介绍了是“模拟界面"吗?在 Xcode 6.0.1 中消失了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

模拟文档"功能可用于 Mac .xib 文件,模拟文档"功能位于编辑器下.

是否可以在 Xcode 6.0.1 中模拟界面"?

如果它消失了,最初拥有它的最初目的是什么?为什么它消失了?

参考:


(来源:apple.com)

有关实时渲染的更多信息,请参阅创建在界面生成器中呈现的自定义视图.

参考:

https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_6_0.html:

The "Simulate Document" feature is available for Mac .xib file(s) and the "Simulate Document" feature was under Editor.

Is it possible to "Simulate Interface" in Xcode 6.0.1?

If it is gone, what is the initial purpose for having it at the first place and why it is gone?

Reference:

Interface Builder's "Simulate Interface" is gone in xcode 4.6?

解决方案

The "Simulate Document" feature is gone because of new "Live Rendering" feature.

Live rendering. Interface Builder displays your custom objects at design time exactly as they appear when your app is run. When you update the code for your custom view, the Interface Builder design canvas updates automatically with the new look you just entered in the source editor, with no need to build and run. You can use the Interface Builder inspector to see properties automatically as well. Take advantage of new APIs that allow you to customize the behavior of custom controls on the Interface Builder canvas—for instance, you can load sample data on the fly.


(source: apple.com)

For more information on live rendering, see Creating a Custom View That Renders in Interface Builder.

Reference:

https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_6_0.html:

这篇关于是“模拟界面"吗?在 Xcode 6.0.1 中消失了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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