class initialization swiftui code example Example: Swift class init struct Fahrenheit { var temperature = 32.0 }