“Expected method body” error

后端 未结 8 1386
天涯浪人
天涯浪人 2020-12-20 13:15

I had my application working fine, then without doing anything, out of nowhere I got 2 errors in appDelegate.h. One says this:

Expected

8条回答
  •  天涯浪人
    2020-12-20 13:56

    Basically the

    Expected method body

    is because there is a type/extra character somewhere!

    For me it was because the name of Apple's pre-defined's method was mis-spelled.

提交回复
热议问题