xcode Interface Builder:自从我更新以来,我无法更改列表中对象的名称
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7827318/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Interface Builder: I can't change names of my objects in the list since I updated
提问by Niklas Jensen
I just updated Xcode to the latest version 4.2. Only problem is that when I go into Interface Builder I can't change my objects names in the list of objects on the left. I used to be able to click on them twice or mark one and then press enter to change it. But that doesn't work anymore.
我刚刚将 Xcode 更新到最新版本 4.2。唯一的问题是,当我进入 Interface Builder 时,我无法更改左侧对象列表中的对象名称。我曾经能够点击它们两次或标记一个然后按回车键来改变它。但这不再起作用了。
Any ideas would be appreciated
任何想法,将不胜感激
Thanks ind advance :)
提前致谢:)
回答by Greg
You can edit the name of the object using the identity inspector's Label field:
您可以使用身份检查员的标签字段编辑对象的名称:
回答by flann
I was just trying to figure this out too using 4.6.3 and accidentally hit tab while the view object was selected. This allowed me to edit the name.
我只是想使用 4.6.3 来解决这个问题,并且在选择视图对象时不小心点击了选项卡。这允许我编辑名称。
回答by H.Rabiee
Somehow, I was stuck at this. So I tried changing to another alternative in the Lock menu. Then it suddenly updated the view in Interface Builder to reflect the change in Label.
不知何故,我被困在了这一点上。所以我尝试在“锁定”菜单中更改为另一种选择。然后它突然更新了 Interface Builder 中的视图以反映 Label 的变化。