- 博客(4)
- 收藏
- 关注
转载 iOS小demo之判断数值类型
+(NSString*)fromTypeToString:(id)data{ NSNumber *myNumber = (NSNumber *)data; int minThreshold = [myNumber intValue]; if ((int)minThreshold { NSLog(@"Not a number");
2016-06-23 10:27:44 2969
原创 iOS备忘录之Xcode插件清理
插件路径为:~/Library/Application Support/Developer/Shared/Xcode/Plug-ins Library文件夹(即资源库)默认是隐藏的,所以你可以使用一下方法打开该路径:Finder 前往->前往文件夹(cmd+Shift+G),输入以上路径,回车,这里面是你安装的所有的插件。删除即可。
2016-06-21 11:45:40 408
转载 iOS备忘录之常用的第三方开源库
转自:点击打开链接 1.AFNetworking 地址:https://github.com/AFNetworking/AFNetworking 用于网络请求 2.JSONKit 地址:https://github.com/johnezang/JSONKit 解析JSON 3.Reachability 地址:https://github.com/tonymillion/Reacha
2016-06-21 10:18:45 688
转载 iOS小demo之屏幕截图
转自:点击打开链接 如何在代码中实现 截屏并保存至系统相册 写在前面,系统截屏并没有想象中那么难 1.保存当前界面的图片(截图)这个函数 - (UIImage *)captureCurrentView:(UIView *)view { CGRect frame = view.frame; UIGraphicsBeginImageContext(frame.size)
2016-06-16 09:43:32 556
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人