摘要: //1 数组的创建 NSArray *array=[[NSArray alloc] initWithObjects:@"1",@"2",@"3", nil]; NSArray *array1=[[NSArray alloc] initWithArray:array]; NSArray *array2... 阅读全文
posted @ 2015-06-06 14:55 shao621 阅读(114) 评论(0) 推荐(0) 编辑
摘要: //字符串的创建 NSString *str1=@"hello world , are you ok"; NSString *string1=[NSString stringWithFormat:@"%@",@"hello"]; NSLog(@"%@",string1); //1 length 侧... 阅读全文
posted @ 2015-06-06 14:46 shao621 阅读(163) 评论(0) 推荐(0) 编辑