in C# it is possible to do something like:
myClass() { var1 = 5, var2 = 6 }
So I can initialize variables of that class without the need of having a constructor for these variables like:
myClass(var1: 5, var2: 6)
Is it possible to do something similar in Swift?
structwill auto generate constructor for you.