[英]Expected Identifier error while assigning array object
APIElement *ap=[[APIElement alloc]init];
ap=[feeds objectAtIndex:[indexPath.row]];
上面是我的代碼段,我想要將feeds(NSMUTABALEARRAY)中的對象獲取到ap(即APIElement的對象)中,但是卻給了我類似“ Expected Identifier”的錯誤。
您必須從indexPath.row中刪除框。
ap=[feeds objectAtIndex:indexPath.row];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.