Liondancer
Liondancer

Reputation: 16469

Expected method body errors inconsistency

I am new to iOS development and I am following a book to learn it. I'm confused as to why I am getting this error. I followed the code in the book perfectly. I am using Xcode 6.

enter image description here

Sometimes when I move the braces around the errors move around...

enter image description here

Upvotes: 0

Views: 60

Answers (1)

Dale Myers
Dale Myers

Reputation: 2821

You have an extra ) at the end of your definition (just after sender).

Upvotes: 3

Related Questions