摘要:
温故知新,常用常新//1、创建常量字符串。NSString *astring = @"This is a String!";//2、创建空字符串,给予赋值。NSString *astring = [[NSString alloc] init]; astring = @"This is a String!"; [astring release]; NSLog(@"astring:%@",astring);//NSString *astring = [[NSString alloc] init]; NSLog(@"0x%.8x& 阅读全文
posted @ 2012-03-05 10:12 蜗牛狂奔 阅读(139877) 评论(0) 推荐(8) 编辑