Linked Questions

Popular Questions

Declare Variable with dash(hyphen) in swift

Asked by At

I want to declare a variable in swift which contains dash in its name

for eg: var store-types-categories = JSON()

I am getting error as Consecutive declarations on a line must be separated by ';'

Please let me know how to use the same name, should i use some escape sequence or what is the best solution?


Related Questions