240 私信
这个人很懒,暂无签名信息
0

本地造假数据模拟服务器给的json

读取.json文件代码部分 NSString * json = [[NSBundle mainBundle] pathForResource:@data ofType:@json]; NSData *data=[NSData dataWithContentsOfFile:json]; NSError *error; NSDictionary * dict =[NSJSONSeriali...

0

error C3872: "0xa0": 此字符不允许在标识符中使用

error C3872: '0xa0': this character is not allowed in an identifier或者 error C3872: 0xa0: 此字符不允许在标识符中使用 这是因为直接复制代码的问题。0xa0是十六进制数,换成十进制就是160,表示汉字的开始。 解决办法:在报错的代码行检查两边的空格,用英文输入法的空格替换掉。

个人介绍
暂无介绍