问题描述
模拟文档"功能可用于 Mac .xib
文件,模拟文档"功能位于编辑器下.
是否可以在 Xcode 6.0.1 中模拟界面"?
如果它消失了,最初拥有它的最初目的是什么?为什么它消失了?
参考:
有关实时渲染的更多信息,请参阅创建在界面生成器中呈现的自定义视图.
参考:
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.
For more information on live rendering, see Creating a Custom View That Renders in Interface Builder.
Reference:
这篇关于是“模拟界面"吗?在 Xcode 6.0.1 中消失了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!