Local declaration of 'XXX' hides instance variable 出了一个警告,吓一跳 遇到这种原因,是因为本地变量或函数参数变量同名,原来是定义一个数组的时候名字取成array,把名字改了就好了