Skip to content

Instantly share code, notes, and snippets.

@50percentgrey
Created November 18, 2019 14:17
Show Gist options
  • Save 50percentgrey/3623e11aed2009037f749a5601f57f09 to your computer and use it in GitHub Desktop.
Save 50percentgrey/3623e11aed2009037f749a5601f57f09 to your computer and use it in GitHub Desktop.
MVVM jump to counterparts in Xcode
run in terminal
defaults write com.apple.dt.Xcode IDEAdditionalCounterpartSuffixes -array-add "ViewModel" "ViewController" "Coordinator" "Repository"
close Xcode and open it again.
jump by using Ctrl+Cmd+Up and Ctrl+Cmd+Down
if you want to revert the change
defaults delete com.apple.dt.Xcode IDEAdditionalCounterpartSuffixes
ref: https://gist.github.com/danielmartin/8411c303e5c8702c19c65950b49635b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment