I would not recommend this - it will certainly make your code much less readable, and there are simple alternatives (for example, just using a reserved word).
But if you really want it, you can write it as `is` . Evacuation from backticks allows you to use reserved words / keywords as identifiers. You will need to use inverse elements wherever you want to use the class name:
class `is` { } let obj = `is`() let objs: [`is`] = []
More information can be found in the Swift programming language .
source share