摘要: 转自:http://www.cnblogs.com/qianLL/p/5369127.html 在github上面有很多的第三方类库,大大节约了大家的开发时间 下载地址:https://github.com/gsdios/SDCycleScrollView 现已支持cocoapods导入:pod ' 阅读全文
posted @ 2016-04-10 21:38 原码 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.cnblogs.com/tmf-4838/p/5361271.html#import "ViewController.h" #import <ImageIO/ImageIO.h> #import "UIImageView+WebCache.h" @interface V 阅读全文
posted @ 2016-04-09 22:03 原码 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-04-07 11:18 原码 阅读(165) 评论(0) 推荐(0) 编辑
摘要: #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property (strong,nonatomic) UILabel *titleLable; @property (strong,nonatomic) UI 阅读全文
posted @ 2016-04-06 20:36 原码 阅读(130) 评论(0) 推荐(0) 编辑
摘要: //设置左视图 不用设置frame UIImageView *imageV = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"phoneIcon@x"]]; self.infoText.leftView = imageV; self 阅读全文
posted @ 2016-04-06 20:28 原码 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 本文转自:http://www.cnblogs.com/qianLL/p/5356717.html iOS开发UI篇—简单介绍静态单元格的使用 一、实现效果与说明 说明:观察上面的展示效果,可以发现整个界面是由一个tableview来展示的,上面的数据都是固定的,且几乎不会改变。 要完成上面的效果, 阅读全文
posted @ 2016-04-06 20:18 原码 阅读(1110) 评论(0) 推荐(0) 编辑
摘要: //转载自原文:http://www.cnblogs.com/qianLL/p/5331624.html iOS 最新版 CocoaPods 的安装流程1.移除现有Ruby默认源$gem sources --remove https://rubygems.org/2.使用新的源$gem source 阅读全文
posted @ 2016-04-01 20:25 原码 阅读(169) 评论(0) 推荐(0) 编辑
摘要: AFNetworking 本文永久链接:http://www.cnblogs.com/qianLL/p/5342593.html pod 'AFNetworking', '~>3.0.4' < 第三方 具体他的pod的过过程 http://www.cnblogs.com/qianLL/p/53316 阅读全文
posted @ 2016-03-31 22:48 原码 阅读(243) 评论(0) 推荐(0) 编辑
摘要: //谓词,指定过滤器的条件,将符合条件的对象保留下来 //一般用谓词过滤数组中指定的元素 int main(int argc, const charchar * argv[]) { @autoreleasepool { NSArray *persons = [NSArray arrayWithObj 阅读全文
posted @ 2016-03-30 22:03 原码 阅读(120) 评论(0) 推荐(0) 编辑
摘要: //关键字对大小写不敏感echo ('hello world!<br>');ECho ('hello world<br>');eCho ('hello world<br>');*//*//请把变量视为存储数据的容器。$x = 5;$y = 6;$z = $x + $y;echo ($z);*//*/ 阅读全文
posted @ 2016-03-29 22:01 原码 阅读(220) 评论(0) 推荐(0) 编辑