Teamviewer - Send Control Key to Mac from Windows - xcode

I'm TV'ing from a remote location to my mac to play around with XCode (on a windows pc). Within the interface builder, I'm trying to perform the control drag action. I tried pressing the ctrl button and dragging a view controller but nothing happens. If it's of any significant, I have send key combinations checked.

As a workaround, instead of control dragging try control clicking on the object you wanted to drag from. The black pop up box that lists the object's outlets etc will appear, and from there you can left-click drag from the circles to wherever you want.

Try the windows key, it will function similar to OSX Command key

Can confirm on Mac using TeamViewer 10.0.52680, right-click or control-click on an object on a story board and simply left-click dragging to the view controller will create the proper referencing outlet.
If you have issues with the right click, go to TeamViewer preferences on the machine you are removing from, go to Advanced > General and select "Use control and mouse click as right mouse-click". This will enable you to send the control button and left click combination to your remote machine as a right click.

Related

How to navigate in Xcode with mouse buttons

I would like to know if there is a way to bind a mouse button to a specific keyboard shortcut in Xcode. My specific use case here is to be able to navigate by using the mouse side buttons. It is possible in vscode to Go Back with ⌥⌘9 and Go Forward with ⌥⌘0 but my side mouse button (Logitech G402) also get mapped to this action.
In Xcode, I tried setting ⌘9 to Go Back and ⌥⌘9 to Go Back in Next Editor but the mouse button doesn't trigger the shortcut of the navigation action.
I know a workaround would be to create a profile in ghub only for Xcode, to bind the side button to a specific key binding and use this key binding in Xcode, but I was curious if there was another way to navigate with the mouse in Xcode.
Kind of a workaround, but I've managed to make this work by running the Sensible Side Buttons and GHub app side by side. Sensible Side Buttons dont have any impact on the macros I've created with GHub and XCode seems to recognize the navigation command when this app is running.
It can be downloaded with :
brew install --cask sensiblesidebuttons

Disable the Xcode utilities panel auto-display feature

How do I disable the Xcode auto-display feature of the utilities panel (aka the far right pane that holds the identity inspector etc)?
In full screen mode (coding, not just in the storyboard) whenever my mouse curser gets moved all the way to the right of the screen, the utilities panel displays automatically. It is distracting and unwanted. If I need that panel I can click the button in the upper right to display it, or use a keyboard shortcut. It doesn't seem like anything else is autodisplaying, just the right side panel. Once I move the mouse away from it, the panel disappears again. Maddening I tell you.

Is it possible to access the Diamond guide in Visual Studio from the keyboard only?

I have taken to participating in mouseless Monday's and Friday's. I have set my windows float and dock tabs to hotkeys that allow me to pull them out or put them back in; however, I want to be able to choose which location to put the tabbed document in. I operate in landscape mode so I regularly have a bottom and a top window in visual studio. I would like to press a hotkey and send the selected document to that part of the diamond guide. Anyone know a plugin or how I can do this?
There's an entire article dedicated to navigating the IDE using just the keyboard, with a section on docking windows and tabs using the diamond guide from the keyboard. So yes, it is possible, and you don't need a plugin for it:
To move and dock tool windows from the keyboard
Navigate to the tool window you intend to move and give it focus.
On the Window menu, click Dockable.
Press ALT + Space and then choose Move.
The docking guide diamond appears.
Use the ARROW keys to move the window to a new location.
The mouse pointer moves with the window as you use the ARROW keys.
When you have reached the new location, use the ARROW keys to move the mouse pointer over the correct portion of the guide diamond.
An outline of the tool window appears in the new docking location.
Press ENTER.
The tool window snaps into place at the new docking location.
Alternatively, you can cheat by simply controlling the mouse pointer with the keyboard, through a nifty system accessibility feature called MouseKeys.

How to use Control drag in Xcode

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.
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.
By "Control" key, they're referring to the Control key on your keyboard:

Toolbar buttons are disabled by default for Lion Cocoa app

I've created an interface nib/xib file. The app is basically working, which is cool. The standard toolbar buttons look bad, they're glossy and raised, while most apps in Lion have the flat, inner bevel look. So I created some image toolbar buttons and put them in the toolbar and they look great, but they're all disabled by default.
Is there a way to give these the correct state in InterfaceBuilder or do I have to use code to give them the proper state.
Cocoa and Objective C are very unfamiliar so it would be helpful to me if I just knew what to search for. Most of my searching brings me results for creating custom buttons for iOS.
I figured this out, here's what you do:
In the nib/xib file, double click your menu bar to show the "allowed toolbar items" sheet. From here, choose your button that you've created. In my case I'll select a back button that I want to connect to a webview control. Ctrl click + drag from the button to what you want to connect it to and then make the appropriate connection. In my case I choose goBack from the WebView.
Once it has a connection it now becomes active.

Resources