@protected in Objective-C

百般思念 提交于 2019-12-03 15:57:09
kpower

ughoavgfhw posted right answer in comments. I've asked him (in comments, also) to rewrite it as an answer - so I can accept it. But he didn't. So I will post my own answer, simply to close the question and remove it from unanswered.

The solution:
Change C/C++ Compiler Version to LLVM compiler 2.0 in your project's settings.

I also had the same problem, by using self->, everything worked fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!