
iPhone iPad开发
liweifire
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
iphone计算一段程序的耗时
计算一段程序的耗时,可以采用如下方法:<br /><br />//计算每次动作的执行时间<br />NSDate* tmpStartData = [[NSDate date] retain];<br />//TODO:do your action<br />NSTimeInterval deltaTime = [[NSDate date] timeIntervalSinceDate:tmpStartData];<br />NSLog(@">>>>>>>>>>elapse time = %f", deltaT原创 2010-10-08 15:22:00 · 811 阅读 · 0 评论 -
Apple code signing 苹果开发中认证体系
翻译地址:http://www.th7.cn/Program/IOS/2011/08/30/41087.shtml 英文原文:http://www.raywenderlich.com/2915/ios-code-signing-under-the-hood 教程截图: 下面是一篇有澳洲墨尔本的一名全职iOS开发者提供的文章。他在论坛上是一个很摩登的年轻人 – Adam Ebe转载 2011-11-15 14:36:53 · 1437 阅读 · 0 评论 -
如何通过CGImage得到bitmap
<br /><br />在目前(iOS4.3版本已经出来了)cocoa没有提供从CGimage到bitmap的接口,想得到bitmap还得费一番周折。以下是我从苹果开发者网站上找到的一段,可以实现。大体思路为:先创建满足自己要求的Context,再将原图片画到Context上,然后再从Context上得到图片的bitmap数据。<br /> <br />原文:http://developer.apple.com/library/ios/#qa/qa1509/_index.html<br /> <br />c原创 2011-03-27 12:07:00 · 1778 阅读 · 0 评论 -
Apple程序开发总结-- (二)Objective-C
这里写点object-c的简单语法以及要注意的地方吧原创 2011-03-10 15:55:00 · 1365 阅读 · 0 评论 -
Apple程序开发总结-- (一)技术资料
最近开发了一段时间的Apple程序,想对前面的技术进行一下总结,所以想起写这一系列的文档。网上的技术资料和论坛是学习的好地方,我知道的不错的网站有下面几个,如果你还知道别的可以告诉我。1 苹果的官方网站我觉得做的挺不错的,说明详细,还有很多的Sample,可以download下来学习;不足之处全部是英文的,如果...(此处略去100字)。网址:http://developer.apple.com2 cocoa china “国内第一个也是最大的一个苹果相关产品的中文开发社区网站”(我从他的网站上摘的,原创 2011-03-10 15:49:00 · 681 阅读 · 0 评论 -
查找malloc_error_break错误根源方法
<br />malloc_error_break错误:<br />1、You'll find out what the object is when you break in the debugger. Just look up the call stack and you will find where you free it. That will tell you which object it is. <br />The easiest way to set the breakpoint is to转载 2010-10-29 10:54:00 · 9704 阅读 · 0 评论 -
Cocos2d开发资源大集合
原文地址:http://www.cnblogs.com/bobdos/archive/2011/01/02/1924278.html Cocos2d开发资源大集合 Cocos2d的分支流派 Cocos2d-python--最初的版本,后来的cocos2d-iphone衍生于此; Cocos2d-iphone--Objective-C版本,做得最好的一个版转载 2011-11-10 16:40:53 · 1088 阅读 · 0 评论