Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2585015
  • 博文数量: 877
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 5920
  • 用 户 组: 普通用户
  • 注册时间: 2013-12-05 12:25
个人简介

技术的乐趣在于分享,欢迎多多交流,多多沟通。

文章分类

全部博文(877)

文章存档

2021年(2)

2016年(20)

2015年(471)

2014年(358)

2013年(26)

发布时间:2015-10-20 18:30:57

convertPoint的详细测试http://gypgyp.iteye.com/blog/1552067convertPoint本身并不难理解,但是下面的这些特殊情况一定要注意,经过测试,总结如下: UIView* fromView = [[UIView alloc] init]; [fromView convertPoint:aPoint toView:toView]; 就是将fromView坐标系中的一个点转换为toView中的.........【阅读全文】

阅读(496) | 评论(0) | 转发(0)

发布时间:2015-10-20 18:27:57

http://blog.csdn.net/ouy_huan/article/details/305069251,这种方法,拨打完电话回不到原来的应用,会停留在通讯录里,而且是直接拨打,不弹出提示NSMutableString * str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"186xxxx6979"];    //     .........【阅读全文】

阅读(613) | 评论(0) | 转发(0)

发布时间:2015-10-20 18:26:43

NSSortDescriptor使用注意以及直接排序字符串数组http://blog.sina.com.cn/s/blog_8c87ba3b0101phr5.htmlNSSortDescriptor 指定用于对象数组排序的对象的属性。如果是Employee对象需要按照name来排序,就生成下面的descriptorNSSortDescriptor *descriptor = [NSSortDescriptor sortDescriptorWithKe.........【阅读全文】

阅读(745) | 评论(0) | 转发(0)

发布时间:2015-10-20 14:30:34

    NSMutableArray *tempArray = [NSMutableArray array];    NSMutableArray *letterArray = [NSMutableArray array];        for (int i = 0; i < 2; i++) {        if ( i == 0) {          &.........【阅读全文】

阅读(776) | 评论(0) | 转发(0)

发布时间:2015-10-20 11:28:39

http://blog.csdn.net/ztp800201/article/details/8116081简述:Cocoa框架中的NSPredicate用于查询,原理和用法都类似于SQL中的where,作用相当于数据库的过滤取。定义(最常用到的方法):[cpp] view plaincopyNSPredicate *ca = [NSPredicate p.........【阅读全文】

阅读(611) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册