摘要: File.documentsDirectory,File.userDirectory,File.desktopDirectory等。可以保存大的数据,如图片,视屏,和临时文件。访问这些文件的全选是:,在使用之前,确认是否有sd卡:If(File.userDirectory==true)//proce... 阅读全文
posted @ 2015-11-25 15:36 木易的博客 阅读(327) 评论(0) 推荐(0) 编辑
摘要: #import 1、 三角函数double sin (double);正弦double cos (double);余弦 double tan (double);正切2 、反三角函数 double asin (double); 结果介于[-PI/2, PI/2] double acos (dou... 阅读全文
posted @ 2015-11-25 15:35 木易的博客 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 原文:Touch Events and Gestures on Mobile作者:Paul TraniGone are the days of the simple mouse click when it comes to mobile devices.In fact, there’s a lot ... 阅读全文
posted @ 2015-11-25 15:35 木易的博客 阅读(2988) 评论(0) 推荐(0) 编辑
摘要: 第一部分、前几天做动画,使用到了CATransform3D ,由于没有学过计算机图形学,矩阵中m11--m44的各个含义都不清楚,经过几天研究总结如下:(供和我一样的菜鸟学习){CGFloat m11(x缩放), m12(y切变), m13(), m14();CGFloat m21(x切变), m2... 阅读全文
posted @ 2015-11-25 15:34 木易的博客 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 报错the file "xxx.app" couldn't be opened because you don't have permission to view it.后发现对应target的info文件中的字段Executable file (CFBundleExecutable)值是VANCL... 阅读全文
posted @ 2015-11-25 15:33 木易的博客 阅读(428) 评论(0) 推荐(0) 编辑
摘要: NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc]init];paragraphStyle.lineBreakMode = NSLineBreakByWordWrapping;上边两句代码一定要加,否则... 阅读全文
posted @ 2015-11-25 15:27 木易的博客 阅读(374) 评论(0) 推荐(0) 编辑