简体   繁体   English

界面生成器:更改控件 - 拖动IBOutlet键盘快捷键

[英]Interface Builder: Change control-drag IBOutlet keyboard shortcut

Is it possible to change the Control-drag IBOutlet creation keyboard shortcut in Xcode to Shift-drag instead? 是否可以将Xcode中的Control-drag IBOutlet创建键盘快捷键更改为Shift-drag? I am using one keybaord and mouse between two computer with Sharemouse and Xcode doesn't recognize the Control key properly. 我在两台计算机之间使用一个键盘和鼠标与Sharemouse和Xcode无法正确识别Control键。

You can't change the key used for dragging, but you can just do a right-click drag ( ie drag with the right mouse button held down instead of left) rather than control-drag. 您无法更改用于拖动的键,但您只需执行右键单击拖动( 按住鼠标右键而不是向左拖动)而不是按住Ctrl键拖动。

You can also do a standard drag from the connections inspector of the utilities panel: 您还可以从实用工具面板的连接检查器执行标准拖动: 从实用工具面板拖动

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

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