Is there a way to cycle through open windows. I quite often use this when I want to reference something in another file. On windows this would typically be Ctrl + Tab, but I can't find a way to do this in Xcode on a Mac.
-
This is what worked for me: http://stackoverflow.com/a/10506195/253938 – RenniePet Jan 25 '17 at 07:08
9 Answers
On a Mac you can cycle through any program's windows using Cmd + ` (backtick)
On Xcode4 same command is achieved with Cmd + Ctrl + ↑/↓.

- 48,927
- 17
- 132
- 168
-
3few extra shortcuts: Cmd + Opt + Left/Right - cycle through history of opened files; Ctrl + 1 - view list of history files Ctrl + 2 - view list of methods in opened file – Eimantas Sep 12 '09 at 17:13
-
Nope. On a German keyboard you won't have fun with back tick. Cmd-> (so far) does work on (almost) all apps. – qwerty_so Feb 23 '15 at 18:51
Basic MacOS stuff: ⌘` shift⌘`
See "system preferences>keyboard>keyboard shortcuts>Keyboard & text input" for all the juicy details.

- 683
- 7
- 10
-
This is what I needed, thanks! (for switching between Xcode instances, rather than windows in one instance) – canhazbits Mar 16 '15 at 22:05
All Cocoa: ⌘< and ⌘> to cycle through application windows.

- 81,520
- 17
- 180
- 200
-
3That's what I thought too, but for me it just opens the SchemeManager... Maybe it has to to with a German Keyboard? – Git.Coach Jan 14 '13 at 12:38
-
2@Tom No, it's broken with the american/international keyboard as well. I consider reporting this issue as a bug (though it's just one of many subtle UI bugs of Xcode). – Nikolai Ruhe Jan 14 '13 at 13:52
-
All applications are equal. But some applications are more equal than others. - Steve Jobs – qwerty_so Feb 23 '15 at 18:43
-
1
Open Preferences/Key Bindings and look at conflicts. You may find CMD+< to be in conflict. As mentioned by @Nikolai Ruhe CMD+< / > should cycle through ALL app windows.
Once again: All applications are equal. But some applications are more equal than others. - Steve Jobs
In the latest Xcode 7.0.1 onwards, you can now use CMD + ~. I spent a while to find out how to toggle between Xcode View Controller and the apple Documentation help I get upon CMD clicking. This works !

- 11,885
- 4
- 72
- 54
For people with German and possibly other non-US keyboards, the default key combination often do not work; for example, ⌘< doesn't work in many of Apple's own apps like Xcode or Numbers, Pages etc.
Even Apple's own suggestion of "Umschalttaste-Befehlstaste-Tilde (~)" here https://support.apple.com/de-de/HT201236 (in German!) doesn't work! This is probably because the tilde ~ is available only via a key combination itself on German keyboards.
My solution was to rebind the "Move focus to next window" shortcut to ⌘^. This works in all apps for me so far.

- 71
- 2