Cursor keeps jumping in Xcode Playground

Every time I start typing code in Playground, the cursor keeps jumping with some cases the view scrolling to the middle position of the Playground view. Ive researched elsewhere and some people have stated to not put your Playground file in a sync'd folder e.g. Dropbox. Ive not done this and my Playground file sits on the desktop.


Ive tried several versions including 6.x and all 7.x beta versions of Xcode. This is becoming unbearable.


Can someone please help me with this issue ?


Much appreciated.

I've noticed this too. My cursor jumps to the end of the file after execution.

For anyone still reading this, I experienced something similar using Xcode 8.2. Basically the cursor would always jump to the middle to the screen when going to a new line or pasting something in.


The cause of the problem was a non-closed pair of brackets/parentheses, i.e., I had a (, but not used the corresponding ). Simply closing the pair solved the problem. Same deal with apostrophes.

Thanks for the Help.

Cursor keeps jumping in Xcode Playground
 
 
Q