
iOS
胡玉国
勇往直前
展开
-
ARC
http://clang.llvm.org/docs/AutomaticReferenceCounting.html#metahttp://longweekendmobile.com/2011/09/07/objc-automatic-reference-counting-in-xcode-explained/http://www.cocoachina.com/ipho转载 2012-05-27 20:35:31 · 803 阅读 · 0 评论 -
重叠的 CCMenu touch 优先级问题
http://blog.sina.com.cn/s/blog_60f977e701016aa8.html转载 2013-12-04 13:43:09 · 665 阅读 · 0 评论 -
UIImageView帧动画
- (IBAction)onButtonClickHandler:(id)sender { UIImageView *heartImageView = [[UIImageViewalloc]initWithFrame:CGRectMake(100.0, 100.0, 50.0, 50.0)]; [self.view addSubview:heartImageVi原创 2013-02-17 20:51:03 · 3769 阅读 · 0 评论 -
UIView beginAnimations ARC
[UIView beginAnimations:nilcontext:(void *)imageView];[UIView setAnimationDelegate:self];[UIView setAnimationDuration:0.9]; imageView.alpha = 0.1; [imageView setFrame:CGRectMake(200.0 +sin(i)原创 2013-02-17 19:59:31 · 1316 阅读 · 0 评论 -
What size can textures be?
转之:http://www.cocos2d-iphone.org/wiki/doku.php/faqThere are two cases to consider, non compressed textures and PVRTC compressed textures.For non compressed textures the textures must hav转载 2012-08-07 17:58:19 · 618 阅读 · 0 评论 -
cocos2d 1.0.1 卸载
环境:Mac OS X 版本 10.7.4Xcode 版本 4.3.2删除以下目录即可/Users/huyuguo/Library/Developer/Xcode/Templates/cocos2d/Users/huyuguo/Library/Application Support/Developer/Shared/Xcode/Project Templates/c原创 2012-08-07 12:23:16 · 729 阅读 · 0 评论 -
Xcode 4.1/4.2/4.3/4.3.2 + iOS 5.1.1免证书(iDP)开发+真机调试+生成IPA全攻略
转载:http://kqwd.blog.163.com/blog/static/4122344820117191351263/转载 2012-07-08 14:39:52 · 875 阅读 · 0 评论 -
Xcode中debug取消debug信息
DEBUG COCOS2D_DEBUGD=0即可。原创 2012-06-26 11:02:30 · 1582 阅读 · 0 评论 -
App图标与启动图片设置
一、App图标二、启动图片设置参考信息:http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html原创 2012-05-26 22:33:10 · 773 阅读 · 0 评论 -
屏幕方向设置
竖屏设置操作环境:Xcode 4.3.2一、在工程配置文件中设置(XXX-Info.plist)--该操作无效,具体原因不明,需要后续关注。二、程序中控制,每一个自定义的 UIViewController 都有一个方法- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrie原创 2012-05-26 22:15:58 · 1206 阅读 · 0 评论 -
系统状态栏隐藏
方法一、状态栏初始状态设置,通过工程配置文件(XXX-Info.plist)其他方法待续。。。。。。原创 2012-05-26 22:21:46 · 495 阅读 · 0 评论 -
理解ARC在Objective-C中的应用
原文:http://longweekendmobile.com/2011/09/07/objc-automatic-reference-counting-in-xcode-explained/名词解释:Automatic Reference Counting(ARC):自动引用计数ARC在很大程度上消除了手动内存管理的负担,同时省去了追查内存泄露和过度释放对象引起的繁琐操作。尽管A翻译 2012-06-04 17:18:09 · 8925 阅读 · 0 评论 -
ARC forbids explicit message send of 'release
异常信息截图解决方法:将Objective-C Automatic Reference Counting 修改为NO原创 2012-05-27 02:07:25 · 1602 阅读 · 0 评论 -
[smartFox connect]
执行 [smartFox connect]打印如下日志信息2012-05-27 04:19:12.524 MyConnector[1412:f803] [SFS - INFO]SFS2X API version: 1.0.42012-05-27 04:19:14.330 MyConnector[1412:f803] +[NSStream getStreamsToHostNamed:po原创 2012-05-27 04:28:04 · 1381 阅读 · 0 评论 -
manager start failed
xcode6 新建的工程,Info.plist里没有Bundle display name,把这个key添加进去就可以解决百度地图打印错误的信息的问题啦原创 2015-05-27 19:15:04 · 1453 阅读 · 0 评论