An Xcode tip which I didn't discover until recently was that if you hover over a variable for a moment, a small down arrow will appear next to it. If you click on that arrow, you'll get a menu which includes "Edit all in scope". This provides very basic variable renaming.