Ch 28 Error pg 363


#1

Sample code on pg 28 in the fetchClassesWithError method definition reads

NSLog(@“Received %ld bytes”, [data length]);

But the -length method for NSData returns an NSUInteger, thus the string format specifier should be %lu, not %ld.