{ // your code for (NSInteger i=0; i < [dbf fieldCount]; i++) NSLog(@"%ld", [dbf fieldLength:i] ); // your code }