Why am I getting this error? There's another post similar to this, but it doesn't have any answers.
Code Block import SwiftUI struct ContentView: View { @State var clicked = 0 var numberValue = [1: "won", 9: "Nein!", 69: "nice.", 123: "321", 666: "ILLUMINATI", 6969: "very nice."] func addOne() { clicked += 1 print(clicked) } var body: some View { VStack{ Text("Clicker: The Game") .font(.largeTitle) .fontWeight(.bold) .multilineTextAlignment(.center) .offset(y: -225) Text(numberValue[self.clicked] ?? String(self.clicked)) .font(.system(size: 69)) .offset(y: -125) Button(action: addOne) { Text("Tap me!") .offset(y: -10) .font(.system(size: 30)) .background(RoundedRectangle(cornerRadius: CGFloat, style: RoundedCornerStyle = .circular)) } } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }