如何在 Xcode 中使用 Control 拖动
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14420412/
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
How to use Control drag in Xcode
提问by Saurabh Hooda
I am just starting off with iOS development. I am trying to add action to a button and it is mentioned on apple developer site that "To Control-drag, press and hold the Control key while you drag from the button to the implementation file in the assistant editor pane." But am not able to do this. What is control key? How can i do this? When I try to add control drag, entire button is getting dragged and am not able to see any control-drag arrow. Thanks a lot for your time.
我刚刚开始使用 iOS 开发。我正在尝试向按钮添加操作,在苹果开发人员网站上提到“要控制拖动,请在从按钮拖动到助手编辑器窗格中的实现文件时按住 Control 键”。但我无法做到这一点。什么是控制键?我怎样才能做到这一点?当我尝试添加控制拖动时,整个按钮都被拖动并且看不到任何控制拖动箭头。非常感谢您的时间。
回答by NSGod
You can either click and drag with the right mouse button (if you have one), or hold down the Control key while you click and drag with your left (single) mouse button.
您可以使用鼠标右键单击并拖动(如果有),或者按住 Control 键同时使用鼠标左键(单个)单击并拖动。
By "Control" key, they're referring to the Control key on your keyboard:
通过“Control”键,它们指的是键盘上的 Control 键: