简体   繁体   English

选择XCode iOS 8上的所有插座

[英]Selecting all outlets on xcode ios 8

I was just wondering how I can select all outlets on xcode ios 8. Some of my labels are on top of each other, so I cant select them. 我只是想知道如何在xcode ios 8上选择所有插座。我的某些标签彼此重叠,因此无法选择它们。

Thanks 谢谢

Probably the most useful secret trick in Xcode's nib editor is to Shift-Control-click on an interface item in the canvas. Xcode的nib编辑器中最有用的秘密技巧可能是Shift-Control单击画布中的一个界面项。 This gives a menu where you can select that interface item or anything behind it . 这提供了一个菜单,您可以在其中选择该界面项目或它背后的任何内容

If I understand you correctly, you are trying to select some elements but because they are overlapping you can't get to them. 如果我对您的理解正确,那么您正在尝试选择一些元素,但是由于它们重叠,您将无法找到它们。

在此处输入图片说明

Click on the box with a line in it as show in the illustration and it will show all your elements and you can select it from their. 单击其中带有线条的框,如图所示,它将显示您的所有元素,您可以从它们中进行选择。 In previous Xcode versions it was an arrow instead of a line. 在以前的Xcode版本中,它是箭头而不是线条。

Thank you @matt for pointing out, that is called the Document Outline. 感谢@matt指出,这就是文档大纲。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM