Xcode 4 interface-builder problems

旧时模样 提交于 2019-12-24 07:28:37

问题


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 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:

strange size inspector:

and the one during the switch between the inspectors:

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.

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.

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.

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


回答1:


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



来源:https://stackoverflow.com/questions/12631319/xcode-4-interface-builder-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!