No visible @interface for

后端 未结 6 1323
傲寒
傲寒 2020-12-14 06:56

I have gotten this error on several occasions and am unclear as to what causes the error in general. After looking for over an hour on stack overflow and google I still don\

6条回答
  •  无人及你
    2020-12-14 07:27

    Any chance you are on Xcode 4.2 (or less), running code that was written on Xcode 4.3? In 4.3+ Xcode doesn't require you to declare private methods at all, it just assumes that methods written in the implementation file (without declarations in the interface) are private. But in Xcode <= 4.2, this will throw an error and those methods need to be at least declared privately

提交回复
热议问题