Initialization of variable was never used; consider replacing with assignment to ‘_’ or removing it
Initialization of variable was never used; consider replacing with assignment to ‘_’ or removing it刚接触iOS的swift语言,还没来得及看视频,自己随意定义了一个常量,结果报警告. 其实不用着急,这个提示信息是告诉你定义的这个常量你没有使用到. 接下来使用它,警告信息就会消失.
原创
2016-04-05 15:25:39 ·
1778 阅读 ·
0 评论