How to name constant and variable with reserved keywords in Swift?

It is not recommended to name constants and variables with names of reserved keywords in Swift. If you want to name the variables and constants with keywords we can do that by surrounding the names with the backticks(). For example: `String`

 

Leave a Reply