Cannnot move scenes in interface builder of XCode 6.1 - ios

My problem is that I cannot move scenes after updating XCode to 6.1. They are quite distorted as u can see in a picture and I want to group them a bit. I know i can arrange them using source code of storyboard but may be there's simple way to allow just dragging them?

From what I see in your screenshot I think you just need to zoom in more, to be able to move them individually. I think its a little annoying.
Unless Its another issue, zoom in more you can do it by double clicking a few times

Related

Keyboard low resolution

I have an iPad project that i've been wanting to add an iPhone part to it.
So I've added a target and added a new Storyboard, but when I run the app and pressing a textfield, the keyboard looks strange. As if the resolution is low.
The left one is how it looks and the right one is how I want it to look:
Anyone has any clue? Thanks
Special thanks to James.P (from the comments above) for a great solution.
Apparently, this happens when one doesn't use any LaunchImages at all.
Just make sure to use LaunchImages correctly and it should be solved.

iOS UI elements are invisible

I work on a project for few days. All worked great until today. I've added few elements to view just like normal today. But when I launch app on device I can't see them. They are there: size classes works ok, everything is on right place. I can even touch UISegmentedControl and pick item on UIPickerView that makes the Picker View noise. But they are invisible - I can see only older elements.
I can't even tell where is the problem, because new elemts have THE SAME setting as olders. Methods like [_someElement setHidden:NO] does nothing.
Can you help me please?
Edit: they are visible in IB Preview
probably bug with cache, try to:
-delete all data from DerivedData folder
/Users/%user name%/Library/Developer/Xcode/DerivedData
-manually remove application from device/simulator
rebuild application
Thank you, I solved it after few hours, when I was focusing on another problem.
AVFoundatuon preview layer hide those elements. Simple solution is to bring them to the top as subviews.
Thank you.

Xcode 6: label won't drag

Im just picking up ios development, and Im having a stupidly basic problem with xcode...
I open up a new app and open main.storyboard, and drag in a label to the center of the panel:
It just sticks to the right side, and no matter how many times I click on the darned thing, it won't move! I closed the project and started a new one, and that one worked just fine, but the problem keeps appearing just about every other time I open a new project. why does this keep happening?
That is a strange problem. You say that if you close the project and start it again, it fixes itself but keeps reappearing.
Few suggestions, try clearing up some ram by closing other, unused apps.
If that does not work, I would say delete Xcode, restart your mac, and start over. Maybe something went wrong during the install.
Storyboards are scrollable and when you scrolled out your views, you cannot make any changes to the views. Try scrolling into the storyboard and then retry moving the label.
It's AutoLayout, which is the highly recommended default for laying out components now. You need to create constraints to
position it, using the icons below the layout area.
Some components I've found I need to manipulate via the size inspector, before constraints are applied.
You will need to read up on Auto Layout sooner or later. It may seem like a hassle or drag at first, and a lot of people are cursing when they have to switch to the paradigm, but when you start to master it, it is very powerful. And it really is a sensible way to handle the layout across all the new screen sizes and orientations. It developed out of a need to manage that complexity to keep apps looking good.
Icons in IB where you set constraints for selected views:
Apple has good documentation for how to use Auto Layout as do many bloggers and sites. You will have to put some hours into getting used to it, but in a day or two you should start seeing good results.
(and don't blame me, I'm just the messenger)

Interface Builder Views not showing up

All of my view controllers suddenly had this bug. Nothing shows up in interface builder, but it works fine when I run it. This makes it so I can't edit my views in interface builder. Whats going on here? Xcode 6.1 GM ios 8.1 B1. Swift.
I assume you made your design in a size class other than wAny / hAny. Switch back to the size class you used for design and your controls will reappear.
This happens when you press Command+Delete, meant for removing objects from only certain size classes. If you just did it, you can undo it, but otherwise I looked around and I can't find a way to turn them back on. The only menu references to it are after you press Command+Delete to "Undo Turn Off", so it may be a bug right now unless theres an alternative way to turn the layers back on.
I believe Harrison is correct, the greyed out views on the left mean they have been deleted for a certain size class, try changing the size class and see if they are active in a different size class
Thank you all for the help. I had designed the views in regular regular and then changed it to any any unknowingly.
I also encountered similar problems.And I solve this problem by check install...
This because of size classes. May be you uninstall some constraints in wAny and hAny. You need to re-install these constraints. After that you are able to see your view again.

Strange bug with resizing of UI elements in xCode 5? Video is attached

link to a video with bug
I simply created a project in xCode. Then I added any UI element to a view. Then I tried to resize this item to left and to right. No code, Interface Builder was used only.
I have checked with some types of projects for iOS and with UILabel and UIButton. The result is the same: when I try to resize the item from the left then it moves the parent view/viewcontroller instead.
Uncheck "Siblings and Ancestors" under Resizing Behavior in Xcode 5 Storyboard.
Voila! As such, resizing your UI elements will not cause your view controllers to move.
You need to uncheck the "Siblings and Ancestors" in your .xib/.storyboard file. See below screenshot of how to toggle this behavior on and off:
As has been said before, you must uncheck the "Siblings and Ancestors" option under Resizing Behavior in the Xcode 5 Storyboard.
The specific purpose of this feature is to be able to resize large groups of objects all at once. For instance, lets say that you have a Table View and you resize one of the cells. In this case, it would seem petty, since you would just have to resize the Table View Controller, but it becomes extremely handy once you have layered objects such as that.
Sorry for the somewhat duplicate answer, but you did ask for an explanation of why a feature like that would be added.
Additionally I have found out that another computer with the same version of xCode works with the same copy of project normally.
I didn't know how to solve this problem without uninstalling of xCode.
So I uninstalled it using AppCleaner and installed it again.

Resources