218Obj-C, Shortcut: Boolean return value to String
Turning Boolean 1, 0 into a more descriptive description:
NSLog(@"data1 is equal to data2: %@", [data1 isEqualToData:data2] ? @"YES" : @"NO");
Turning Boolean 1, 0 into a more descriptive description:
NSLog(@"data1 is equal to data2: %@", [data1 isEqualToData:data2] ? @"YES" : @"NO");