数据类型
Mr.Clark
这个作者很懒,什么都没留下…
展开
-
toll-free bridging
There are a number of data types in the Core Foundation framework and the Foundation framework that can be used interchangeably. This capability, called toll-free bridging, means that you can use转载 2016-09-02 09:32:09 · 236 阅读 · 0 评论 -
三种常见字符编码简介:ASCII、Unicode和UTF-8
http://www.cnblogs.com/yuguangchuan/p/4310952.html什么是字符编码? 计算机只能处理数字,如果要处理文本,就必须先把文本转换为数字才能处理。最早的计算机在设计时采用8个比特(bit)作为一个字节(byte),所以,一个字节能表示的最大的整数就是255(二进制11111111=十进制255),如果要表示更大的整数转载 2017-01-18 10:12:18 · 454 阅读 · 0 评论 -
iOS NSDictionary NSString互转
-(NSString *)convertToJsonData:(NSDictionary *)dict{ NSError *error; NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dict options:NSJSONWritingPrettyPrinted error:&error]; ...转载 2018-05-03 16:04:57 · 5632 阅读 · 0 评论 -
移动端Sqlite慎用
使用Sqlite建立表时,字段名称默认值,数据类型等需要考虑清楚,后期是不支持直接修改的。SQLite 仅仅支持 ALTER TABLE 语句的一部分功能,我们可以用 ALTER TABLE 语句来更改一个表的名字,也可向表中增加一个字段(列),但是我们不能删除一个已经存在的字段,或者更改一个已经存在的字段的名称、数据类型、限定符等等。...原创 2018-09-10 08:55:07 · 435 阅读 · 0 评论