Xcode 4接口构建器问题 [英] Xcode 4 interface-builder problems

查看:89
本文介绍了Xcode 4接口构建器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode 4中的界面构建器有几个问题。
我正在使用Xcode 4.5但问题在我更新之前就开始了。

I have several problems with the interface builder in Xcode 4. I am using Xcode 4.5 but the problems started even before I updated it.

My第一个问题是,如果我编辑一个字段(例如,文本字段从不可编辑到可编辑),它有时会消失。或者其他字段改变它们的位置。

My first problem is that if I edit a field (e.g. a text field from not editable to editable) it sometimes disappears. Or other fields change their position.

我的第二个问题可能与第一个问题有关,那就是尺寸检查器看起来很奇怪,当我切换时做一个不同的检查员的尺寸检查员我常常在新检查员出现之前出现半秒钟。我有两个屏幕截图:

My second problem which is probably related to the first one is that the size inspector looks strange and when I switch do a different inspector the size inspector I'm used to appears for half a second before the new inspector appears. I have two screen shots:

奇怪的大小检查员:

和检查员之间切换时的那个:

and the one during the switch between the inspectors:

一个可能连接的问题是,如果我尝试通过ctrl自动创建出口拖动到.h文件,它只会创建@property而不是@synthesize。当我开始使用该项目时,它同时做到了。

A possibly connected problem is that if I try to automatically create outlets by "ctrl" drag to the .h file it only creates the @property but not the @synthesize. And when I started with that project it did both.

另一个问题是,如果我重新定位对象,当我构建它时它们仍处于旧位置。但我认为这是一个不同类型的问题,因为我可以通过重新启动Xcode来解决这个问题。

Another problem is that if I reposition objects they are still at the old position when I build it. But I think thats a different kind of problem since I'm able to resolve that by restarting Xcode.

除了在xcode中使用界面构建器真的很慢4但据我所知,这是一般性的事情。

Besides that it is really slow to work with the interface builder in xcode 4 but as far as I read thats a general thing.

我知道这些是几个问题,但我认为它们可能有关联,这就是为什么我一起问他们。 / p>

I know that these are several questions but I think they might be connected, thats why I asked them together.

推荐答案

如果您想返回旧式尺寸检查器,只需关闭使用Autolayout在XIB的文件检查器中。

If you want to return to your old style Size inspector, just turn off "Use Autolayout" in the file inspector of the XIB.

这篇关于Xcode 4接口构建器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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