https://github.com/YouXianMing
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 85 下一页
摘要: 使用WebViewJavascriptBridge与UIWebView交互https://github.com/marcuswestin/WebViewJavascriptBridge核心的地方:UIWebView在加载完网页之后,通过方法stringByEvaluatingJavaScriptFr... 阅读全文
posted @ 2014-05-20 10:25 YouXianMing 阅读(1934) 评论(0) 推荐(0) 编辑
摘要: 使用UICollectionView使用UICollectionView的流程:1. 设定一个UICollectionViewFlowLayout2. 使用这个设定的UICollectionViewFlowLayout来初始化UICollectionView3. 设置代理对象4. 继承UIColle... 阅读全文
posted @ 2014-05-19 18:03 YouXianMing 阅读(2777) 评论(4) 推荐(3) 编辑
摘要: UIButton中的**EdgeInsets是做什么用的?UIEdgeInsetsMakeCreates an edge inset for a button or view.An inset is a margin around the drawing rectangle where each s... 阅读全文
posted @ 2014-05-19 09:28 YouXianMing 阅读(934) 评论(0) 推荐(0) 编辑
摘要: CoreImage-with-EAGLContexthttps://github.com/anaglik/CoreImage-with-EAGLContextSimple example of drawing manipulated image to CIContext based on EAGLC... 阅读全文
posted @ 2014-05-18 06:49 YouXianMing 阅读(843) 评论(0) 推荐(0) 编辑
摘要: SAMCoreImageViewhttps://github.com/soffes/SAMCoreImageViewRender a CIImage in an OpenGL thingy so it's real fast and junk. You won't see any speed up ... 阅读全文
posted @ 2014-05-17 08:10 YouXianMing 阅读(226) 评论(0) 推荐(0) 编辑
摘要: NSImage+HHTint - Tints grayscale images using CoreImagehttps://github.com/gloubibou/NSImage-HHTintThis category on NSImage adds a single method:- (NSI... 阅读全文
posted @ 2014-05-17 07:53 YouXianMing 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 使用iCarousel的旋转木马效果请求图片https://github.com/nicklockwood/iCarousel先看看效果: 源码如下://// RootViewController.m//// Created by YouXianMing on 14-5-16.// Copy... 阅读全文
posted @ 2014-05-16 17:10 YouXianMing 阅读(1084) 评论(0) 推荐(0) 编辑
摘要: 使用TFHpple解析htmlhttps://github.com/topfunky/hpple前期准备工作引入静态库文件添加库文件的 header search paths(注意,必须选中 All)将从github上下载的源码包拖入工程当中准备工作结束使用详情我们来解析网址 http://www.... 阅读全文
posted @ 2014-05-16 11:50 YouXianMing 阅读(5759) 评论(1) 推荐(0) 编辑
摘要: 使用MapKit框架地图显示最简单显示地图的代码://// RootViewController.m// CoreLocation//// Copyright (c) 2014年 Y.X. All rights reserved.//#import "RootViewController.h"... 阅读全文
posted @ 2014-05-15 09:54 YouXianMing 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 定制UITabBar显示样式思路是这样子的:1. 初始化UITabBarController,并装载进来几个其他的ViewController2. 获取每个控制器的UITabBarItem3. 单独配置每个ViewController对应的UITabBarItem(其中,文字可以设置偏移量)就这么简... 阅读全文
posted @ 2014-05-14 11:17 YouXianMing 阅读(2429) 评论(0) 推荐(0) 编辑
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 85 下一页