I'm trying to create an iOS app by using Macincloud but here's my problem. I'm trying to use Ctrl and drag to set a new root controller in the storyboard but Macincloud wont allow you to do this. Instead it just moves the NavigationView around the screen.
Does anyone have a solution to this or at least an alternative way of using Ctrl and drag.
Thanks
From the MacInCloud website shortly after you posted this question:
Problem: When using MacinCloud, the Ctrl+Drag operation does not work properly.
Cause: This is a common issue associated with controlling the Mac through a remote client software such as Remote Desktop Connection. Please see the solution for the current workaround.
Workaround:
Move a Controller in Interface Builder
Double-clicking the object in the side bar
Move it using the arrow keys
Use Interface Builder to connect a view element to file owner
Right-clicking the element
The popup appears, drag the circle on the right hand side of the property to what you want to link to
Connect two controls in Main Space or Document Outlines (left pane)
Point to the Target Control
RightClick to open context menu with available Connection points
Select a Connection circle at the left side of menu, circle becames a "+"
Click the "+" sign and drag it to the Source Control
Release mouse to create new connection
Create and connect new outlet (Assistant Editor mode)
Create a New Outlet manually in the Assistant Editor pane
Point to the New Outlet in Connection Inspector (right pane)
Select the New Outlet circle at the left side of Connection Inspector, circle becames a "+"
Click the "+" sign and drag it to the Source Control in the IB
Cite:
https://support.macincloud.com/support/solutions/articles/8000007774-alternative-method-to-ctrl-drag-control-drag-
Related
I recently updated my Xcode 9 to Xcode 10.1. At the right bottom of the inspector pane for storyboard, the searchbox that always used to be there for finding controls such as ViewController, UIImageView, UITextfield etc. and dragging them to the storyboard is missing. I can't find it anywhere in the menu structure.
Does anyone know how to get it to display?
It goes top right, left to the Show Standard Editor button.
you can access it with shift + cmd + L too.
Don't forget to select a xib or storyboard file first.
And it name is Library by the way.
with Xcode version 10.0 when I create a UIViewController from New -> File -> Cocoa Touch Class and subClass of UIViewController it will create a file that not editable and a (interface) tail?
You seem to be using the assistant editor. Just change the standard editor by selecting the leftmost option:
(this segmented control can be found on the top right. If you are in the assistant editor, the middle option should be selected)
Another way to close the assistant editor is to click on the cross (x) shown in your screenshot. Then you can open your new file using the left panel.
You can also switch to your actual file by clicking on the two circles and selecting "Manual -> ":
I founded an error in storyboard in Xcode8. In Inspector area in show library bar "Show the File Template library" and "Show the Code Snippet library" buttons are working properly. But when I click "Show the Object library" button I see that first item of the list is partially hidden behind the buttonbar. Why top margin there is not working properly and how I can solve this issue?
Its not an issue with storyboard. Might be cursor moved with your hand due to that its appearing like that.
Here is my storyboard:
and I know it looks crazy , so I plan to use storyboard reference to move the right part of the storyboard in to a new storyboard. and I googled ,it says press the shift can multi selected controllers ,but it dose not work.
so how can I move multi controllers at same time?
I have tried to use mouse ,but it only selected 5 controllers in the upper part 。
But I want to select all of them.
Just select them by dragging mouse:
And then press key Command + C to copy them,
then open the second Storyboard, press key Command + V to paste them.
Yes, it is possible.
Select controllers you want to copy
Press Command + C
Open your second storyboard file
Press Command + V
It is very easy no any key is required just select using mouse
i post the gif..
Hold down Option and scroll mouse wheel until minimum resolution, 6.25%
Click and Drag to select all view controllers - or ones you want to copy.
Click Edit->Copy or Use Ctrl+C
Go to Target Storyboard. Click Edit->Paste or Ctrl+V.
I tested this with about 40 controllers,looks like you have around that much. Old question, but new answer! :). In case anyone still looking.
Also I key-bind Option+Z to "Zoom to Fit" and this centers and displays all controllers with the Interface Builder canvas.
If I select a view with my mouse in a storyboard or xib, Xcode will select the front most view. I know that I can select the other views in the document outline, but if I want to grab a background view to move it with my mouse, the front most view gets selected again when I click in the storyboard.
I think there is a way to cycle through the views and select the ones in the back by holding down on some keys, but I can't find what it is. Does anyone know?
I'm using Xcode 4.6. I know that I can also move background views using the size inspector, but I'm looking for a way to position them with my mouse.
One way is to use the jump bar at the top of the editor. It's the control that shows the path of objects leading to the current selection.
Another way is to press control+shift and left click (or shift right click) an item. That shows you all of the objects under the mouse in a menu, and allows you to disambiguate the one you meant to select.
The good news: Place your mouse on the overlapped images, press and hold shift and right click the mouse. You should see the list of objects, select your object in the back. You can resize as you wish.
The bad news: you can only use the cursor arrows if you want to move it!
Select the view from the menu on the left of interface builder.