博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

2013年3月23日

摘要: 以前项目中曾经用到过,后来因为GIF图像的质量较差,被弃用了,把公司名字去掉分享下,根据网上资料改编的cocos2d-iphone版的。//// CCSpriteGif.h//// Created by Yuming on 13-1-23.// Copyright 2013年 __MyCompanyName__. All rights reserved.//// 本类需要导入ImageIO.framework#import <Foundation/Foundation.h>#import "cocos2d.h"#import <ImageIO/ImageI 阅读全文

posted @ 2013-03-23 20:54 扬名 阅读(5217) 评论(0) 推荐(0) 编辑

摘要: 手势识别类型:UILongPressGestureRecognizer // 长按UIPanGestureRecognizer // 慢速拖动UIPinchGestureRecognizer // 两指向內或向外拨动UIRotationGestureRecognizer // 旋转UISwipeGestureRecognizer // 快速滑动UITapGestureRecognizer // 点击手势协议:@protocol UIGestureRecognizerDelegate <NSObject>@optional// called when a ges... 阅读全文

posted @ 2013-03-23 20:54 扬名 阅读(1734) 评论(1) 推荐(0) 编辑