![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
愛了LOVE
这个作者很懒,什么都没留下…
展开
-
iOS错误之---fatal error: could not build module 'UIKit'
在使用Xcode时,有时会出现一下错误提示: fatal error: file ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.frame原创 2015-03-25 22:23:26 · 3190 阅读 · 0 评论 -
iOS——触摸事件与手势
1.触摸事件处理方法响应者通过复写以下方法,可以监听触摸事件 //当一个或多个手指触碰屏幕时(开始) - (void)touchesBegan:(NSSet )touches withEvent:(UIEvent )event; //当一个或多个手指在屏幕上移动时(移动) - (void)touchesMoved:(NSSet )touches withEvent:(UIEvent )even原创 2015-03-23 21:01:01 · 584 阅读 · 0 评论 -
libxml/tree.h file not found解决办法
导入libxml2.dylib 包 2.设置Header Search Paths 为 /usr/include/libxml2 如图:转载 2015-03-29 10:24:47 · 499 阅读 · 0 评论 -
关于@synchronized(self)的用法
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://rongchengfei.blog.51cto.com/6269699/1179005 @synchronized 的作用是创建一个互斥锁,保证此时没有其它线程对self对象进行修改。这个是objective-c的一个锁定令牌,防止self对象在同一时间内被其它线程访问,起到转载 2017-03-05 14:07:43 · 489 阅读 · 0 评论