2016年1月11日
摘要: #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])#import int main(int argc, const char * argv[... 阅读全文
posted @ 2016-01-11 16:38 bobohahaha 阅读(144) 评论(0) 推荐(0)
摘要: #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])http://www.cnblogs.com/wangyang1987 阅读全文
posted @ 2016-01-11 13:53 bobohahaha 阅读(151) 评论(0) 推荐(0)
摘要: //// main.m// nsmutableset//// Created by 博博 on 16/1/11.// Copyright (c) 2016年 com.bb. All rights reserved.//#define NSLog(FORMAT, ...) printf("%s\n",... 阅读全文
posted @ 2016-01-11 13:47 bobohahaha 阅读(146) 评论(0) 推荐(0)
摘要: //// main.m// 数组//// Created by 博博 on 16/1/7.// Copyright (c) 2016年 com.bb. All rights reserved.//#define NSLog(FORMAT, ...) printf("%s\n", [[NSString... 阅读全文
posted @ 2016-01-11 13:43 bobohahaha 阅读(187) 评论(0) 推荐(0)
摘要: //// main.m// 截取//// Created by 博博 on 16/1/6.// Copyright (c) 2016年 com.bb. All rights reserved.//#define NSLog(FORMAT, ...) printf("%s\n", [[NSString... 阅读全文
posted @ 2016-01-11 13:42 bobohahaha 阅读(211) 评论(0) 推荐(0)
摘要: //// main.m// 字典排序//// Created by 博博 on 16/1/8.// Copyright (c) 2016年 com.bb. All rights reserved.//#define NSLog(FORMAT, ...) printf("%s\n", [[NSStri... 阅读全文
posted @ 2016-01-11 13:28 bobohahaha 阅读(125) 评论(0) 推荐(0)
摘要: //// main.m// 数组字典结合//// Created by 博博 on 16/1/8.// Copyright (c) 2016年 com.bb. All rights reserved.//#define NSLog(FORMAT, ...) printf("%s\n", [[NSSt... 阅读全文
posted @ 2016-01-11 13:28 bobohahaha 阅读(120) 评论(0) 推荐(0)
摘要: //// main.m// 可变字典//// Created by 博博 on 16/1/8.// Copyright (c) 2016年 com.bb. All rights reserved.//#define NSLog(FORMAT, ...) printf("%s\n", [[NSStri... 阅读全文
posted @ 2016-01-11 13:27 bobohahaha 阅读(118) 评论(0) 推荐(0)
摘要: //字典:NSDictionary//1.存储数据使用 和数组区别:使用键值方式。无序//2.相当于我们使用字典通过目录来查找具体字的释意//3.用key-value的形式数据,value作用用来存储数据,key用来检索数据//4.cocoa中的字典:可变/不可变//注意事项//5.key通常是字符... 阅读全文
posted @ 2016-01-11 13:26 bobohahaha 阅读(119) 评论(0) 推荐(0)
摘要: //// main.m// 可变的字符串//// Created by 博博 on 16/1/7.// Copyright (c) 2016年 com.bb. All rights reserved.//#define NSLog(FORMAT, ...) printf("%s\n", [[NSSt... 阅读全文
posted @ 2016-01-11 13:22 bobohahaha 阅读(166) 评论(0) 推荐(0)