JOAOSANTACRUZ.COM

How to print a Strinf using NSLog

Objective-c - How to print a Strinf using NSLog


						

// define variable type and its value

static NSString *vendorName = @"MERCEDES BENZ";

 

// print out variable

NSLog(@"The vendor name is: %@", vendorName);

Go Back