I have this code:
`if available {
}
doSomething()
goToSomeWere()`
How to move this block (2 functions) of code into the “if” without cutting and pasting (using the keyboard)? Is there a shortcut for this in XCode?
On Android Studio I use:
- move a line up: Alt + Shift + Up Arrow
- move a line down: Alt + Shift + down Arrow