标签: code

  • ‘autorelease’ is unavailable报错修复

    对着教程敲代码,可能教程有些老,教程里的代码跑起来报错,
    报了个’autorelease’ is unavailable: not available in automatic reference counting mode。
    下意识觉得是配置文件问题,看了下 build setting,果然后这个设置项,把 Automatic Reference Counting 设成 no 就好了。