Tab Indent in Xcode 6 - ios

When I am writing a new line of code in Xcode 6, the tab indents across half the screen. Does anyone know how to fix this so that it is only indenting a few spaces? I have been looking around online but hadn't really found anything so I didn't know if this was a common issue, although it seems like it would be.

Related

Xcode 7.2 Syntax Highlighting flickering in Swift Files

When I write anything in a Swift file in Xcode 7, every time I enter an letter, a space or delete anything, the syntax highlighted words in the line go white and then back to their original color. I recorded a gif, better explaining, what I mean:
This first appeared, after I installed Alcatraz and a few plugins. After I noticed the bug, I removed all plugins and then Alcatraz, but the bug still existed. I also tried to delete the Derived Data folder as suggested in a few posts, but it didn't help.
I also created a new project, but the error occurred there too. Downloading Xcode 7.3 beta, didn't help too.
Is anyone having the same issue or knows, how to fix it? It's really annoying.
I just tried to reproduce this bug and figured I have the same issue. Since I don't use such high contrast colours for syntax highlighting, I didn't notice until now.
I presume it's not a bug only you are experiencing, so maybe you could try to file a bug report to Apple here.
This appears to be a result of the constant syntax scanning done by the text engine as you type.
If you find the effect objectionable, switch (for now) to the Default theme (or some other theme that has a white background) instead of the black background you're currently using; it is not noticeable there.

Xcode 6.4 Bug? Source code text disappears. OSX Yosemite

Is it just me, or does this happen to anyone else? Occasionally if I am coding inside of a huge class, the source code text begins to chop it's way out to a white screen as I scroll. However, when I vigorously scroll to the top, then back down again. The source code re-appears again.
What could be the issue? Is there a work around? This issue is so annoying!
Go to Preferences->General tab and uncheck "Show live issues" under Issues. Notice that this is a work around to be able to continue working with Xcode, at least until they issue an official fix. This glitch seems to be noticeable when you have lots of lines of code (1000+).
After this, the glitch will still be happening but not while coding but during building phase. Not perfect but at least you will be able to continue working.

Auto-Layout Warnings: Frame for "foo" will be different at run time

On my projects I'm constantly getting the warning: "Frame for "foo" will be different at run time" on my storyboards.
It seems like the slightest nudge to my mac knocks the views off by a pixel, leaving me to hunt down all the yellow dots and click "Update frames", "Apply to all views in container", and quite frankly I'm sick of it.
Can someone tell me if they've found a better way of dealing with these warnings than this?
Here are my top hypothetical solutions, in order:
Is there an option somewhere in Xcode to have it automatically update the misplaced frames rather than generating the warning?
Is there a way to update all the frames on a storyboard in one go? (instead of selecting it for each individual view controller)
Is there an Xcode plugin to do either of the above?
Is there a way to just hide this particular warning?
Or am I just doing something wrong to getting these errors all the time?

Weird behavior UIComponents

I'm newbie to iOS programming and I'm having a little trouble with UIComponents. I don't know why, but they aren't working properly. This images illustrates it:
It's weird because I've just drop the elements and in some cases, I change the font but not any big deal. As you can see, my labels and the "Register" button don't show up. The worst is that the log don't say anything, so I can't know what's going on. I cleaned the project, but it doesn't work.
Any clue what's wrong? It's not the number of lines or the value of alpha, I checked that
Thanks!

What does the gradient on this bar in XCode represent?

I have just started using XCode 5 and I am curious about this bar and the gradient.
I can't say I remember seeing that before version 5. I just noticed it after doing some profiling, although it's possible that it's been there all along. Even in version 4.5 for all I know.
The gradient seems to be different in each code block, so I am thinking it represents time spent in that block of code. Looking through the code, it seems to be darker in areas with loops, which is why I have that assumption.
I'm pretty sure that it is just a visual aid to let you know what scope you are in. If you mouse-over it, Xcode will highlight the scope, and if you click, all the code between the braces is hidden.
EDIT: It has been in XCode since at least version 4.

Resources