上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页
摘要: The following is a simple method that will convert a hexadecimal color (e.g. #FFCC88) into an equivalent UIColor object. - (UIColor *) colorForHex:(NSString *)hexColor { hexColor = [[hexColor stringBy... 阅读全文
posted @ 2009-03-11 20:00 小糊涂的超级blog 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 大致的需求就是, 浏览文件夹,以及文件,然后选取文件后,返回给调用窗口,进行进一步处理。 使用方式: fileSelector= new FileSelector(this); //this 为MIDlet fileSelector.sender = invoker; //invoker 为自定义的Canvas Display.getDisplay(this).setCur... 阅读全文
posted @ 2009-03-08 21:58 小糊涂的超级blog 阅读(741) 评论(0) 推荐(0) 编辑
摘要: UIGraphicsBeginImageContext(myView.bounds.size); [myView.layer renderInContext:UIGraphic... 阅读全文
posted @ 2009-03-07 16:11 小糊涂的超级blog 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 想必大家都会有这个需求,如何管理物体对象? 用 STD::Vector 吗? 在object c 中我们可以如下操作。 //Initialize the Array spriteArray = [[NSMutableArray alloc] init]; //保存对象. //Add mySprite to the array [spriteArray addObject:[NSVa... 阅读全文
posted @ 2009-03-07 15:38 小糊涂的超级blog 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 记住这几点: 匹配原则:alloc或者copy得到的对象已经有计数器为1了,retain会使得计数器加1,这三种使用都要匹配对应的release或者autorelease。 何时retain:得到一个返回的对象后,如果你想长期使用它,需要做retain。 何时autorelease:当需要返回对象给上层,而自己又不想使用这个对象时,需要做autorelease,这样才能让... 阅读全文
posted @ 2009-02-02 12:28 小糊涂的超级blog 阅读(620) 评论(0) 推荐(0) 编辑
摘要: 隆重推荐, gimp , mac 上的 PS, 开源软件 About GIMP on OS X GIMP on OS X is a project, which provides pre-build application bundles of GIMP for Mac OS X. For the impatient, just click below to down... 阅读全文
posted @ 2009-01-09 16:31 小糊涂的超级blog 阅读(856) 评论(0) 推荐(0) 编辑
摘要: Parallels Workstation available for free! First of all, tremendous thanks to user Descalzo for bringing this to my attention. I thought about putting this on front page news, but its more of an offer... 阅读全文
posted @ 2009-01-06 19:08 小糊涂的超级blog 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1 . (分享)如何在苹果电脑上使用PC键盘! 2. 最好的消息.GHOST安装iatkos4i 成功, 在lenovo 台式机扬天A6000C 跑得很好. 3 . 原创非抄袭10-27更新,(分享) ASUS P5rd1-vm 上面怎么安装 Leopard 10.5.4 我的成功总结 如果没有买mac , 自己动手装个mac 也是可行的, 虽然有些折腾, 可是对于国内的一些朋友 也总比没有m... 阅读全文
posted @ 2008-12-31 23:29 小糊涂的超级blog 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 其实很简单.自己就是个搬运工而已。。其实连搬运都谈不上了,就是 copy... 但这是我的心得体会。拿来和你分享。请你顺手点击AD 是对我的鼓励。 来源: http://www.iphonefaq.org/archives/97475 翻译: by cnsoft 许多用户抱怨iphone's 2.2 Firmware 有一些问题, 而解决的办法无外乎是降到 2.1了 。但是用Itun... 阅读全文
posted @ 2008-12-29 23:12 小糊涂的超级blog 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 其实很简单.自己就是个搬运工而已。。其实连搬运都谈不上了,就是 copy... 但这是我的心得体会。拿来和你分享。请你顺手点击AD 是对我的鼓励。 翻译一下: http://www.scottlu.com/2008/04/fast-2d-graphics-wopengl-es.html 关键字: Pbuffer, glTexSubImage2D, glDrawTex, GL... 阅读全文
posted @ 2008-12-29 13:55 小糊涂的超级blog 阅读(3853) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页