Object-c 语言
摘要:字符串操作:http://www.myexception.cn/mobile/455287.html1,判断两字符串是否相同NSString *str1 = @"hello pepe"; NSString *str2=[NSString stringWithFormat:@"hello %s","pepe"]; if([str1 isEqualToString:str2]){ NSLog(@"相同"); } else{ NSLog(@"不同"); }2,浮点型运算CGRect screenRec
阅读全文
posted @ 2013-09-10 11:19

浙公网安备 33010602011771号