how to init class in swift code example Example: Swift class init struct Fahrenheit { var temperature = 32.0 }