警告"Local declaration of 'XXX' hides instance variable"原因

 

Local declaration of 'XXX' hides instance variable
 
是因为本地变量名跟函数变量名同名 ,.在命名上要注意.....
 

posted on 2014-03-05 15:48  Mallory  阅读(231)  评论(0)    收藏  举报

导航