-1
我想對此代碼快速實現enumeration
,請幫助我。如何在此代碼上實現快速枚舉
int xx;
int b=0;
for (xx=0 ; xx<(distancearray.count); xx++) {
if ([NSNull null]!=[distancearray objectAtIndex:xx]&& 0 !=[[[distancearray objectAtIndex:xx] description] intValue]) {
b++;
latitudeLabel.text=[NSString stringWithFormat:@" %d",b*100];
}
}