草庐IT

arrOfRewardDetail

全部标签

ios - 对成员 'count' 的模糊引用

当我将当前的Xcode(v7.0.1)项目迁移到Xcode7.1.1时出现以下错误对成员“计数”的引用不明确不能下标“数组”类型的值知道如何解决上述错误吗?我的代码如下vararrOfRewardDetail:Array=[Dictionary]()functableView(tableView:UITableView,numberOfRowsInSectionsection:Int)->Int{returnarrOfRewardDetail.count//Ambiguousreferencetomember'count'}ifself.arrOfRewardDetail[indexP