开发者

Error will not go away, but not even anything on the line

开发者 https://www.devze.com 2023-02-15 12:10 出处:网络
Why will 开发者_开发问答this error not go away? Anybody know? It says build successful, but this line remains, even after closing.

Why will 开发者_开发问答this error not go away? Anybody know? It says build successful, but this line remains, even after closing.

Error will not go away, but not even anything on the line


It looks like you're trying to declare an ivar outside of the ivar block. This would be the SwitchingViews *switchingViews; line. That is almost certainly the source of the error.

Your class definition should look like:

@interface YourAwesomeClass : NSObject 
{
    SwitchingViews *switchingViews;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号