Skip to content

Instantly share code, notes, and snippets.

@lexrus
Created September 23, 2022 16:02
Show Gist options
  • Save lexrus/bfbd9438dc428a0db22c27219b0b3c6e to your computer and use it in GitHub Desktop.
Save lexrus/bfbd9438dc428a0db22c27219b0b3c6e to your computer and use it in GitHub Desktop.
Alternative Swift comment blocks for Xcode
func pleaseRetweet() {
let isMocking = //* // <- please try remove the first slash
true
// */ false
print(isMocking)
//* // <- please try remove the first slash
print("不")
// */ print("无") /*
print("见")
// */ print("花") /*
print("五")
// */ print("无") /*
print("陵")
// */ print("酒") /*
print("豪")
// */ print("锄") /*
print("杰")
// */ print("作") /*
print("墓")
// */ print("田")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment