Error on xcode10

Asked 1 years ago, Updated 1 years ago, 94 views

I am a super beginner in application development, but I am working according to the textbook in the application development guide, but no matter how many times I try again, I get the same error and cannot run the simulator.
I've searched many things about the error, but I can't get there and I'm in trouble.
Please let me know.

Enter a description of the image here

swift4

2022-09-30 21:35

1 Answers

As far as the error message goes, it seems that the closing of the class (}) is not enough.
You may not have noticed that the indentation of the switch block is one step off.

As OOper pointed out, it would be clear if you could present the source as text.


2022-09-30 21:35

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.