上一页 1 ··· 3 4 5 6 7 8 9 下一页

2016年5月5日

摘要: 1.从当前的界面跳转到指定的界面 NSArray *views = self.navigationController.viewControllers; [ self.navigationController popToViewController:views[1] animated:YES ]; 阅读全文
posted @ 2016-05-05 19:53 Tony0571 阅读(150) 评论(0) 推荐(0) 编辑

2016年5月4日

摘要: 二、例子:界面A push到 界面B CATransition *ca = [CATransition animation]; ca.type = @"fade"; // 渐变 ca.type = @"push"; ca.type = @"reveal"; ca.type = @"cube"; // 阅读全文
posted @ 2016-05-04 22:41 Tony0571 阅读(381) 评论(0) 推荐(0) 编辑

2016年5月3日

摘要: UICollectionView的应用 用于显示方块Cell 代理:<UICollectionViewDataSource,UICollectionViewDelegateFlowLayout> //布局 UICollectionViewFlowLayout *flowLayout=[[UIColl 阅读全文
posted @ 2016-05-03 22:09 Tony0571 阅读(143) 评论(0) 推荐(0) 编辑
摘要: <!--?xml version="1.0" encoding="UTF-8" standalone="no"?--> 》》详情链接: http://blog.csdn.net/itianyi/article/details/8601118 》》详情链接: http://blog.csdn.net/ 阅读全文
posted @ 2016-05-03 14:36 Tony0571 阅读(280) 评论(0) 推荐(0) 编辑

2016年5月1日

摘要: 验证方法: 1.从网络下载文件资源 2.将Zip 资源解压到Documents 3.将数据归档,并解档 NSString *filename = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, Y 阅读全文
posted @ 2016-05-01 21:05 Tony0571 阅读(148) 评论(0) 推荐(0) 编辑
摘要: // 查看文件夹下的文件 NSFileManager *fm = [NSFileManager defaultManager]; NSString *filePath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUser 阅读全文
posted @ 2016-05-01 15:56 Tony0571 阅读(273) 评论(0) 推荐(0) 编辑

2016年4月30日

摘要: 微信带动了html5 技术的广泛应用 有点夸张,但它确实火了一把。 现在就来学习学习 ios 是如何与h5进行交互的; PART-ONE : 一、原理 1.h5 与 ios 进行交互,首先得建立 webviewBridge ,沟通的桥梁; 2.其次是双方的响应。 a.先在h5端注册一个响应的名称。 阅读全文
posted @ 2016-04-30 21:28 Tony0571 阅读(150) 评论(0) 推荐(0) 编辑
摘要: naming function is a hard work! but it's funning,hahaha~~ actually,it's all my summit about the name of function . tell me your idea,please it's seper 阅读全文
posted @ 2016-04-30 13:59 Tony0571 阅读(112) 评论(0) 推荐(0) 编辑
摘要: PART1 git stash git stash pop 团队合作中,比如在改版优化时,需要多人协作。于是,我们会开几个分支,每个人将建立自己的分支去修改代码,之后再去合并。 但是,往往出现一种情况,比如我在改版优化了一半,老版本出现了一个BUG需要修复,这个时候就会用到git stash ,保存 阅读全文
posted @ 2016-04-30 12:52 Tony0571 阅读(224) 评论(0) 推荐(0) 编辑

2016年4月26日

摘要: 一、正则表达式 使用环境很多,但经常会在用户名和密码 判断 了解更多可以查看网址内容,比如下面这个一般都能应付了:http://www.admin10000.com/document/5944.html 例子: NSString *regex = @"^[a-z0-9A-Z\u4e00-\u9fa5 阅读全文
posted @ 2016-04-26 21:09 Tony0571 阅读(275) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页

导航