会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
huangyan1022
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
下一页
2016年5月5日
CAShapeLayer
摘要: CAShapeLayer与UIBezierPath的关系: CAShapeLayer与UIBezierPath画圆 效果图如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 - (CAShapeLay
阅读全文
posted @ 2016-05-05 00:10 huangyan1022
阅读(168)
评论(0)
推荐(0)
2016年4月29日
cell
摘要: 添加数据源, 由三个函数来回答数据绑定的请求:numberOfSectionsInTableView, numberOfRowsInSection 和 cellForRowAtIndexPath. 用numberOfSectionsInTableView方法来返回table中有几个组. - (NSI
阅读全文
posted @ 2016-04-29 00:20 huangyan1022
阅读(367)
评论(0)
推荐(0)
2016年4月27日
远程服务器推送
摘要: 本文为博主原创文章,未经博主允许不得转载。 本文为博主原创文章,未经博主允许不得转载。 目录(?)[+] 目录(?)[+] 一、背景概述: 1,环境配置 APNS:Apple Push Notification Service。本文对推送相关概念不再赘述,只侧重完整流程。 Demo 开发环境:Mac
阅读全文
posted @ 2016-04-27 23:56 huangyan1022
阅读(237)
评论(1)
推荐(0)
2016年4月26日
keyboad
摘要: 一、键盘风格 UIKit框架支持8种风格键盘。 typedef enum { UIKeyboardTypeDefault, // 默认键盘:支持所有字符 UIKeyboardTypeASCIICapable, // 支持ASCII的默认键盘 UIKeyboardTypeNumbersAndPunct
阅读全文
posted @ 2016-04-26 23:58 huangyan1022
阅读(317)
评论(0)
推荐(0)
search搜索
摘要: @interface ViewController ()<UITableViewDataSource,UITableViewDelegate,UISearchBarDelegate,UISearchResultsUpdating>@property(nonatomic,strong) NSMutab
阅读全文
posted @ 2016-04-26 00:06 huangyan1022
阅读(304)
评论(0)
推荐(0)
2016年4月24日
Cocoopod
摘要: iOS 最新版 CocoaPods 的安装流程 1.移除现有Ruby默认源 $gem sources --remove https://rubygems.org/ 2.使用新的源 $gem sources -a https://ruby.taobao.org/ 3.验证新源是否替换成功 $gem s
阅读全文
posted @ 2016-04-24 23:46 huangyan1022
阅读(194)
评论(0)
推荐(0)
2016年4月21日
轮播
摘要: -(void)scrollviewff{ self.scrollview=[[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 200)]; _scrollview.backgroundColo
阅读全文
posted @ 2016-04-21 00:19 huangyan1022
阅读(116)
评论(0)
推荐(0)
2016年4月20日
触摸画
摘要: //实现可以连续绘画, 不让画笔每次touchBegin时都重新初始化 - (UIBezierPath *)path { if (!_path) { _path = [UIBezierPath bezierPath]; } return _path; } - (void)drawRect:(CGRe
阅读全文
posted @ 2016-04-20 00:09 huangyan1022
阅读(194)
评论(0)
推荐(0)
2016年4月19日
退出登录
摘要: - (void)exitApplication { [UIView beginAnimations:@"exitApplication" context:nil]; [UIView setAnimationDuration:0.5]; [UIView setAnimationDelegate:sel
阅读全文
posted @ 2016-04-19 00:21 huangyan1022
阅读(181)
评论(0)
推荐(0)
2016年4月17日
保存到相册
摘要: @interface ViewController ()void UIImageWriteToSavedPhotosAlbum ( UIImage * image, id completionTarget, SEL completionSelector, void *contextInfo );@e
阅读全文
posted @ 2016-04-17 23:57 huangyan1022
阅读(131)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
下一页
公告