摘要: 1 . 如下错误: app:resource fork, Finder information, or similar detritus not al site:forums.developer.apple.com.... 1. 进入到DerivedData目录,把所有文件都删了。其实就是预编译文件 阅读全文
posted @ 2016-11-24 15:57 泡菜2015 阅读(182) 评论(0) 推荐(0) 编辑
摘要: CABasicAnimation* scaleAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale"]; scaleAnimation.fromValue = [NSNumber numberWithFloat:1. 阅读全文
posted @ 2016-11-24 14:40 泡菜2015 阅读(132) 评论(0) 推荐(0) 编辑
摘要: #import <objc/runtime.h> Method method1 = class_getInstanceMethod([self class],@selector(didAddSubview:)); Method method2 = class_getInstanceMethod([s 阅读全文
posted @ 2016-08-30 22:33 泡菜2015 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 1. 首先导入头文件 #include <stdio.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <netdb.h> #include <sys/socket.h> #include <netinet/ 阅读全文
posted @ 2016-08-01 14:52 泡菜2015 阅读(1148) 评论(0) 推荐(0) 编辑
摘要: 1. 导航栏上点击出现下拉选项列表 http://www.oschina.net/p/addropdownmenuview 2.清理工程中多余的图片文件 http://www.cnblogs.com/fcug/p/5630734.html 阅读全文
posted @ 2016-07-01 13:52 泡菜2015 阅读(98) 评论(0) 推荐(0) 编辑
摘要: #ifdef DEBUG#define NSLog(FORMAT, ...) fprintf(stderr,"时间:%s 行号:%d 文件名:%s\t%s\n", __TIME__,__LINE__,[[[NSString stringWithUTF8String:__FILE__] lastPat 阅读全文
posted @ 2016-04-20 13:42 泡菜2015 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1. UIImage *imag = [UIImage imageNamed:@"img"]; /* 使用 coreImg */ // CIImage CIImage *ciimg = [[CIImage alloc] initWithImage:imag]; // CIFilter CIFilte 阅读全文
posted @ 2016-04-19 22:23 泡菜2015 阅读(461) 评论(0) 推荐(0) 编辑
摘要: <key>LSApplicationQueriesSchemes</key><array> <string>mqqOpensdkSSoLogin</string> <string>mqzone</string> <string>sinaweibo</string> <string>alipayaut 阅读全文
posted @ 2016-03-17 11:38 泡菜2015 阅读(536) 评论(0) 推荐(0) 编辑
摘要: UITableView对于iOS开发者来说一定不会陌生,很有可能你的APP很多界面都用到它。关于UITableView的文章,想必已经不计其数,没事可以多看看。特别是UITableView优化的文章,非常值得仔细琢磨一番。 今天我们来看看如何刷新UITableView的,一般情况下,刷新UITabl 阅读全文
posted @ 2016-02-26 11:25 泡菜2015 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 安装cocoapods 我们用淘宝的Ruby镜像来访问cocoapods。按照下面的顺序在终端中敲入依次敲入命令: $ gem sources --remove https://rubygems.org/ //等有反应之后再敲入以下命令 $ gem sources -a http://ruby.ta 阅读全文
posted @ 2016-02-17 16:02 泡菜2015 阅读(136) 评论(0) 推荐(0) 编辑