I'm sorry, I don't find an already asked question for this problem...
in Xcode, what is the shortcut to edit multiples lines like the "CMD+click" of sublime text?
It is possible with Xcode 10+, see the wwdc2018 presentation of the functionality.
Ways to create multiple cursors:
- shift + control + left mouse click: Will create a new cursor on every click
- shift + control + ↑: Will create a new cursor above
- shift + control + ↓: Will create a new cursor bellow
- option + drag: Will create a new cursor on every line you drag
preview:
For more information, see this answer