OC代码中,把Object子类化实现之后,还是无法通过.来点出属性,只能使用和之前一样的通过键来取值:
Ads *ads = _bannerArr[indexPath.row];
AVFile *file = ads[@"pic"];
代码中Ads是子类化得AVObject,我使用ads.pic获取不到它的"pic"属性
-
创建时间
16年12月12日
-
最后回复
16年12月12日
-
1
回复
-
785
浏览
-
2
用户