Is there any keyboard shortcut for '// MARK:' in swift like there is for header doc '/// Description' ?
There is no problem to add it as a code snippet to Xcode.
What you should do is:
// MARK: <#Description#>
, select it and then drag it to the code snippet in the utilities section:and that's it!
Usage:
As per the screenshot above, the completion handler shortcut is: 'm'; By typing 'm' in the code area, you should see: