Object C
共 1 篇文章
Object C output
学习Object C编程 首先学习下Object C的output语句的实现 NSLog()方法 NSLog(@"Hello, World."); 2.定义一个String类型的并且赋值 NSString *helloWorld = @"Hello World"; NSLog(helloWorld); 3.%a的用法 NSString *helloWorld = @"Hello World"; NSLog("Welcome %a",helloWorld); 输出:Welcome Hello world。 4.NSNumber() NSString *firstName = @"David";…
2014-07-14 22:57 · Object C