xcode
文章平均质量分 53
zhikang_in_csdn
代码改变世界
展开
-
Xcode7发送http请求失败的问题
问题如下:Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.解决措施:修改in原创 2015-11-29 15:51:23 · 388 阅读 · 0 评论 -
关于tableView多选删除的编辑设置
-(void)editAction:(UIButton*)sender{ [self.tableViewsetEditing:YESanimated:YES]; sender.selected=!sender.selected; NSLog(@"%d",sender.selected); [sender setTi原创 2016-06-06 14:01:10 · 1899 阅读 · 0 评论 -
iOS 通过路径对文件写入数据 读取数据
1获取沙盒不同文件的路径、-(void)getFilePath{// 1、获取程序的Home目录 NSString *path =NSHomeDirectory(); NSLog(@"这是home目录%@",path);// 2、获取Document目录 NSArray *documentpaths =原创 2016-07-21 16:27:55 · 2791 阅读 · 0 评论 -
如何下载和安装CocoaPods并添加第三方库
在安装CocoaPods之前,首先要在本地安装好Ruby环境。至于如何在Mac中安装好Ruby环境,请google一下,本文不再涉及。假如你在本地已经安装好Ruby环境,那么下载和安装CocoaPods将十分简单,只需要一行命令。在Terminator(也就是终端)中输入以下命令(注意,本文所有命令都是在终端中输入并运行的。什么,你不知道什么是终端?那请小编吃饭,小编告诉你):sudo原创 2015-11-29 23:38:08 · 1387 阅读 · 0 评论