Disable snap-back when scrolling in Interface Builder (Xcode 5) - interface-builder

I'm not sure if this is a feature or a bug (it feels like a bug), but ever since I upgraded to Xcode 5, whenever I scroll all the way to the right of my storyboard canvas area, the view snaps back to the start (or far left).
I have googled this but to know avail. I wondered if anyone else is experiencing this issue, and if so, how do you deal with it. In other words, I'm looking to disable it, or some kind of a workaround.

Update Xcode to Version 5.1.1 and the issue is resolved.

Related

Xcode's UI control border width bug

Sometimes I'm experiencing weird bug in Xcode. Some of UI controls gets ridiculously thick border which makes them really hard to read.
For example color picker.
I don't know what triggers this behaviour. After restarting Xcode it's normal again.
Do you know how to fix it? I'm running Xcode 9.1
You answered your own question. Just restart Xcode and the issue will be fixed.
It's an Xcode bug. If you want, you can file a bug with Apple to let them know it's an issue.

Xcode [8] Editor scrolls on its own?

EnvironmentXcode 8MacOS 10.11.6MacBook Air (circa 2013)
ProblemI've noticed recently that the Editor in Xcode seems to periodically scroll-up on its own. Which I, at least, find very annoying.
I've looked at a couple of other postings:
Xcode scrolls text while typing
XCode auto-scroll when pressing Command after a text selectionBut neither of them seem to provide a solution for me, as I'm not pressing the Command key and I'm not using multiple fingers on the touch-pad.
It seems to happen most frequently when I'm working on code near the bottom of the file, I haven't been able to narrow down the cause-and-effect scenario more than that just yet.
Query
Has anyone else noticed this?
Has anyone figured out a way to stop it?
Is there a reasonable way to report this to Apple? There doesn't seem to be an Xcode section on the http://www.apple.com/feedback/ site.
Try to disable your XCode theme if you have one. We ended up with that bug by doing this trick!
For XCode 10.1 changing the font size to 12 for the selected theme did the trick.

How to fix: disabling size classes in Xcode 6.2 trashes storyboard UI but keeps guides

[EDITED] After spending a couple of days on a iPad app (utility s/w for myself; not for release), I accidentally clicked on disabling size classes in Xcode (6.2). I only want to turn off Auto Layout temporarily so I could figure out why my popover scene was not rendering.
Now, all the UI elements are gone but the guidelines for both the main scene and the popover scene are still around. History seemingly shows nothing that will bring back the UI elements. I closed the Xcode project and opened it again, but only the red guidelines are visible.
Has anyone run into this? Any idea how to fix this? [EDIT] I'm referring specifically to the UI elements and getting them all back -- else I'm going to have to spend a couple of hours reconstructing and positioning them. I browsed StackOverflow and Google Search but I've not seen any relevant suggestions.
First, when disabling auto layout it will disable the size classes as well.
I would suggest that you update your Xcode to 6.3. Then that will probably be gone.
Hope that helps :)
Edit
regarding the comment
First off I would print the frames of the UIElements to see whether they are still on the screen. (Using `println("(button.frame)")
Then, if they are not there, change their frames / centres) to somewhere on the screen.
If they are in the bounds, check their sizes to make sure they are large enough to be visible. If they are then make sure they are not hidden and their alpha is 1.
In storyboard you can open the side-bar and then change the element's position in the Attributes inspector as shown here:

Xcode Interface Builder Slow Performance

I recently have been working on a project that has a xib file that contains a UIView w/ a UIScrollView inside of it. There is a long list of content within the UIScrollView, and I have noticed a significant decrease in speed while working in the Interface Builder.
All other files work fine and working with the Interface Builder with other files works perfectly. It is only this specific xib file that causes a lag of about 5 seconds after making even basic changes like clicking on a UILabel. I expect that the problem is caused by the amount of objects in the main UIView's UIScrollView.
I first tried restarting everything and then tried the suggestions from this thread: Xcode 4 - slow performance
None of them solved the issue. I have never had a similar problem before. Has anyone dealt with this kind of issue before and solved it?
I have a Late 2011 Macbook Pro w/ a 2.4GHz Intel Core i5 processor and 16GB of RAM.
While the .xib is in Interface Builder, go under the File Inspector tab and disable auto-layout for the .xib, then when you're done, re-enable auto-layout for the .xib and add constraints.
Also answered here: other stackoverflow question
For what's worth. I also had major performance issues with the new Xcode. Slow slower slowest.
I did 2 thing disabled indexing en forced stopped IB.
Disable indexing:
On the command line give the command:
defaults write com.apple.dt.XCode IDEIndexDisable 1
After this, Xode runs good. Although code completion etc will not work.
If you want you can turn it on again with:
defaults delete com.apple.dt.XCode IDEIndexDisable
Force stop of Interface Builder
I found this one by surprise. During one of those awfull moments when IB was doing something / nothing or whatever, I forced stopped Xcode.
Press Alt+Cmd
Select Xcode and press force stop
After that IB runned smoothly!
It is something related to auto layout. Not sure exactly what it is.
My problem was on particular xib.
When cancelling auto layout for that xib performance is smooth. As soon as I turn it on and put constraints on my scroll view (0 margins to all sides), it goes laggy again.
What solved the lags for me was to set navigation bar appearance in interface builder to none (Was opaque).
Strange thing is, it happens only on my Mac Book air 13'. My iMac runs this exact same file smoothly. Not sure if it has something with the hardware or not.

How to Auto resize in XCodes 4.3.2

After i upgraded into XCodes 4.3.2 , that's giving me headache.
In older version, We can auto resize our control with click on arrow like following photo
But in XCodes 4.3.2 that view was changed like
So what is scales and how it's work?
I really don't understand apple ever change also user interface when they release XCodes new Version.
Please explain how to work with it?
If my question is too easy for you, please forgive me asking like this question.
Thanks.
I found answer for my question.
That's need to disable auto resize function.
To disable deselect the "use auto layout" option in the Interface Builder design canvas.
After that, everything ok.

Resources