NSUIntegertotalCount=10000;NSMutableArray*array=[NSMutableArrayarrayWithCapacity:totalCount];//create an array including 10000 elementsfor(inti=0;i<totalCount;i++){array[i]=[@(i)stringValue];}//C Language For Loop EnumerationCFTimeIntervalstart1=CACurrentMediaTime();for(intj=0;j<totalCount;j++){NSLog(@"%@",array[j]);}CFTimeIntervalend1=CACurrentMediaTime();NSLog(@"C Language For Loop method %f",end1-start1);//Objective-C Fast EnumerationCFTimeIntervalstart2=CACurrentMediaTime();for(NSString*stringinarray){NSLog(@"%@",string);}CFTimeIntervalend2=CACurrentMediaTime();NSLog(@"Objective-C Fast Enumeration method %f",end2-start2);//Objective-C Block EnumerationCFTimeIntervalstart3=CACurrentMediaTime();[arrayenumerateObjectsWithOptions:NSEnumerationConcurrentusingBlock:^(NSString*obj,NSUIntegeridx,BOOL*stop){NSLog(@"%@",obj);}];CFTimeIntervalend3=CACurrentMediaTime();NSLog(@"Objective-C Block Enumeration method %f",end3-start3);