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