Local declaration of 'XXX' hides instance variable 今天遇到这个警告: 查了下,原来是局部变量和全局变量(应该是这么称呼吧……)名字重复了,改下名字就好了。