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