Xcode 7.2 Syntax Highlighting flickering in Swift Files - ios

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.

Related

XCode Storyboard Issue

I cant see the Labels, Button etc in the View or their constraints though the Labels and Button appears on the side of the storyboard. And when you run the program in the simulator you can see that they are there.
The project from my colleague who uses XCode 6.3.1 and I am using XCode 6.3.2
and he doesn't have this issue. When he updated his to to the same version I have he had the same problem; so he went back to the previous version 6.3.1.
Now the problem persisted on my device even when I removed the 6.3.2 and substitute it with 6.3.1
stackoverflow prevented me from uploading the images but I can send it by email to anyone to see the screen shots
I think I found the answer but yet the labels seems to be shifted out of the view. but the Answer is: This problem occurs when one of the users design the view controller using the compact or any other dimension other than Any X Any. to fix the problem, click in any of the objects created ( label, button..etc), and go the attribute inceptor, and scroll down to the bottom and you will find a check box with the word installed. there will probably be more than one. Look for the one that is not highlighted, and highlight it. This should fix the problem.
Another faster solution instead of going over each object you can deselect
Use Auto Layout
Use Size Classes
then select them again

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.

Xcode build but launch app with black screen

I have a problem with my xcode, all worked before but suddenly my app does not launch.
Xcode saying that it's launching but I just have black screen on simulator and nothing in the log...
I try on device but It's the same problem.
Screen of xcode : http://i.stack.imgur.com/bYh4y.png
Edit : I tried with an other project and the app it's running.
Edit 2 : The problem come from storyboard... I will post a new ask. Thanks
You probably don't need this anymore, but I'm going to try to provide my answer for others out there.
Sorry if I'm violating the rules, etc. I'm new here. :)
Overall list of possible fixes (you guys have gotten here way before me, but I'll include them anyway--with credit).
Sometimes, when it hasn't been used in a while (or if the project is new, etc.), the simulator takes a minute to load. This was mentioned by 68cherries.
Did you check your storyboard entry point? I can't see it in the picture, but recently I've had it disappear a couple times. Just check "Is Initial View Controller"... see this picture.
And finally... although this has been said by the great Jim... did you try "cleaning" your app? This always helps me out.
Anyway, I hope I haven't bothered you and that this helps anyone who may need it!

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.

Rectangles instead of text in Dart Editor

yesterday I updated my Dart Editor to the newest version (25719). When I opened my code in it, some pieces changed into rectangles. I made a screenshot of this problem.
I tried to downgrade to version 24898 of Dart that I used before (and everything was all right), but this not helped, rectangles remained.
Has anyone same problem? Some ideas why this problem appeared?
Thanks for your responses.

Resources