上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
摘要: 两个界面传递参数时报这个错误,经检查发现,是因为目标视图没有关联对应的controller。 阅读全文
posted @ 2014-12-04 23:50 朋克 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 点开UICollectionViewDelegate,发现有@protocol UICollectionViewDelegate 。所以只要实现UIScrollViewDelegate的- (void)scrollViewDidScroll:(UIScrollView *)scrollView; 方... 阅读全文
posted @ 2014-11-13 15:55 朋克 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: 1 - (IBAction)test:(id)sender { 2 NSString *result = @"{\"code\":\"S00000\",\"message\":\"success\",\"data\":{\"file_name\":\"b1feba4439d0bed9f86... 阅读全文
posted @ 2014-11-09 23:13 朋克 阅读(335) 评论(0) 推荐(0) 编辑
摘要: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES);NSString *filePath = [[paths objectAtIndex:0] stringBy... 阅读全文
posted @ 2014-11-09 00:00 朋克 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 使用suds访问webservice十分方便python3.x安装suds会报错“No module named client”在stackoverflow上找到了替代方法,安装suds-jurko即可下载地址:https://bitbucket.org/jurko/suds解压后python se... 阅读全文
posted @ 2014-11-07 23:54 朋克 阅读(1891) 评论(0) 推荐(0) 编辑
摘要: 1 # coding=gbk2 import sys,urllib.request,re3 4 url = "http://www.3322.org/dyndns/getip" #网页地址5 myPage=urllib.request.urlopen(url).read()6 myPage = my... 阅读全文
posted @ 2014-11-07 12:49 朋克 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 打开Options-Open Global Options#import python的#去掉即可 阅读全文
posted @ 2014-11-07 11:41 朋克 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 1.修改选中图片:UITabBarItem* item = [self.tabBarController.tabBar.items objectAtIndex:1]; //从0开始item.selectedImage = [UIImage imageNamed:@"ItemSelProfile"]... 阅读全文
posted @ 2014-11-06 22:57 朋克 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 1.Description Resource Path Location Type Unable to resolve target 'android-19解决:打开project.properties,修改对应版本号2.Description Resource Path Location Type... 阅读全文
posted @ 2014-10-31 23:58 朋克 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 1.下载微软的php连接驱动:SQLSRV30.EXE(5.4对应,后面的native client要用2012)/SQLSRV20.EXE(5.3对应,native client要用2008)/SQLSERV31.EXE对应5.52.解压SQLSERV30.EXE,拷贝对应extension到ph... 阅读全文
posted @ 2014-09-01 08:59 朋克 阅读(3268) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页