iphone
文章平均质量分 53
cenphoenix
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Layer Programming with Quartz Core
《转载》2009/6/25 我来自恐龙蛋 简称:恐龙蛋 or konglongdan。请保留我的网名,也是对我劳动的肯定嘛。谢谢,希望这个对你有帮助。Chapter 5.Layer Programming with Quartz CoreQuartz Core 框架就像是Leopard 桌面的Core Animation。Quartz Core提供了基本的类来管理UIView对...原创 2010-01-08 14:11:24 · 201 阅读 · 0 评论 -
iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games1
As you may have seen, there are quite a few services out there offering free leaderboards. These are great and all, but sometimes you want to have complete control over your data. I have put toget...原创 2010-01-06 10:59:38 · 209 阅读 · 0 评论 -
iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games2
Inserting Scores Into The Database Inserting scores is very simple to do. We will simply make a GET request from our iPhone app to our put_score.php page and pass in information through the GET ...原创 2010-01-06 11:01:53 · 170 阅读 · 0 评论 -
iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games3
Displaying The Scores TableAs mentioned before, we will be displaying a table on a webpage. The url that the webview will access will be something like thishttp://icodeblog.com/ws/get_scores...原创 2010-01-06 11:02:59 · 175 阅读 · 0 评论 -
iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games4
Submitting High Scores To The LeaderboardSubmitting the high scores is very simple. I have created a method that you can drop right in your code and use to submit the scores to your server. Here...原创 2010-01-06 11:06:13 · 177 阅读 · 0 评论 -
Java读取星际译王(StarDict)词库
下面的文件是StarDict的词库格式说明文件:Format for StarDict dictionary files------------------------------------StarDict homepage: http://stardict.sourceforge.netStarDict on-line dictionary: http://www.stardict.or...原创 2010-01-06 18:08:11 · 537 阅读 · 0 评论 -
Opera Masks
It is a application that introduce the chinese opera masks. Features: ※ More than 110 opera masks. ※ Characters introduce. ※ Search by Pin Yin.原创 2010-01-07 01:13:30 · 241 阅读 · 0 评论 -
iphone下Three20库(From Facebook)的设置使用方法
Three20是一个编译的静态类库,在Xcode中的项目实用此类库也非常方便,以下是一些基础步骤:1,从Three20 Git上获取最新文件,在终端命令输入:git clone git://github.com/joehewitt/three20.git,必须确保此项目文件必须有一个固定的存放路径,因为你的项目如果实用此类库,在XCode中需要引用此项目(说明:Git是一种...原创 2010-01-07 22:03:29 · 198 阅读 · 0 评论 -
如何移除Three20中private API
Three20是一个非常有名的iPhone开发库,采用Objective-C语言。它是从Facebook iPhoneapp衍生而来的,所以很多Facebook app上使用的UI控件,像:TabBar,Launch view,Photoview等,都能从这个开发库中找到,且它使用的是Apache License(对商业友好),因此很多iPhone开发者都很喜欢使用它。 关...原创 2010-01-07 22:04:46 · 143 阅读 · 0 评论 -
iPhone Coding Tutorial – Inserting A UITextField In A UIAlertView
This will be a simple tutorial showing you how to put a UITextField in a UIAlertView. This is simple and just a couple lines if code. You will learn CGAffineTransform and coding UITextField programmat...原创 2010-01-06 10:44:43 · 187 阅读 · 0 评论 -
Beautiful Snowflakes
It is a application that display beautiful snowflakes. Features:※ More than 40 beautiful snowflakes. ※ The effect of snow.原创 2010-01-14 18:51:37 · 194 阅读 · 0 评论 -
一些遊戲製作有關的博客(转)
站長在收集站內朋友的博客,然後把它們列出來方便大家看,這的確是個好主意,有時候看看別人在做什麼或想什麼,對於我們都會有很大的啟發作用! 我平時也收集了些國外我覺得挺好的的博客,在這列出來供大家參考一下: Make It Big In Games http://makeitbigingames.com/ - Jeff Tunnell 是資深的遊戲制作人,他是 Dynamix (Incredibl...原创 2010-01-20 14:57:43 · 186 阅读 · 0 评论 -
将图片保存在iPhone的相册中(转)
有时候你的应用需要将应用中的图片保存到用户iPhone或者iTouch的相册中。 可以使用UIKit的这个类方法来完成。void UIImageWriteToSavedPhotosAlbum ( UIImage *image, id completionTarget, SEL completionSelector, void *c...原创 2010-01-21 11:28:14 · 196 阅读 · 0 评论 -
从一个url中获得文本信息(转)
有时候你可能需要从一个url中获取一个文本文件中的信息。 下面的例子会从我的博客页面下载大量的html信息。-(void) readFromURL{ NSError *error; NSURL *url = [NSURL URLWithString:@"https://blog.prosight.me/"]; NSString *...原创 2010-01-21 11:37:50 · 381 阅读 · 0 评论 -
UITableView效果收集
某些打不开需翻()墙Customizing the background/border colors of a UITableView (grouped style)http://pessoal.org/blog/2009/02/25/customizing-the-background-border-colors-of-a-uitableview/ UITableV...原创 2010-07-10 12:28:15 · 206 阅读 · 0 评论 -
iPhone开发网站、论坛、博客
http://cocoachina.com/ 大量iPhone开发资料,教学,经验,还有自曝。 http://www.iteye.com/forums/board/mobile iPhone开发论坛,人气鼎盛,大量自曝,还有Android的讨论 http://developer.apple.com/iphone/ 苹果iPhone开发官方主页,提供大量实例、文档和教学视频 ...原创 2009-08-26 14:04:22 · 297 阅读 · 0 评论 -
uninstall xcode
How to uninstall Xcode and iPhone SDK - [iPhone/Mac Dev]9/11/2009My laptop is Thinkpad X61, with only 160GB harddisk. Although I use 25GB for Mac OS for developing, it's still not enough,...原创 2010-02-08 02:35:53 · 165 阅读 · 0 评论 -
UIPickerView – spinning multiple components
I found an interesting issues with the iPhone SDK and the UIPickerViewThe didSelectRow method gets called after a users selects a new value on a picker wheel. The method knows what wheel (component) w...原创 2010-08-24 16:24:03 · 268 阅读 · 0 评论 -
Memory Management
First off, it’s worthing clarifying that much of what is covered here is as much Cocoa as it is Objective-C. However, since the two are quite closely tied when it comes to developing Mac/iPhone applic...原创 2009-10-29 12:08:55 · 165 阅读 · 0 评论 -
objective-c properties
学了一段时间 objective-c properties 概念一直比较疑惑。@property () ;类似 java 中 get set 方法,parameters: copy retain assign nonatomic readonly逐个剖析一下assign: 对基础数据类型 (NSInteger,CGFloat)和C数据类型(int, f...原创 2009-10-13 22:00:18 · 126 阅读 · 0 评论 -
苹果开发技术: Cocoa 框架概述
苹果开发技术: Cocoa 框架概述 Cocoa Framework简称Cocoa,它是Mac OS X上的快速应用程序开发(RAD, Rapid Application Development)框架,一个高度面向对象的(Object Oriented)开发框架。无论您是资深的Mac开发人员,还是即将踏入Mac开发世界的新新人类,Cocoa都是您开发应用程序的瑞士军刀、乐高积木,它是您构建Ma...原创 2009-10-25 00:03:49 · 293 阅读 · 0 评论 -
Objective-C语法快速参考
大部分有一点其他平台开发基础的初学者看到XCode,第一感想是磨拳擦掌,看到Interface Builder之后,第一感想是跃跃欲试,而看到Objective-C的语法,第一感想就变成就望而却步了。好吧,我是在说我自己。 如果你和我一样,对苹果相关的开发:Mac OS X或是iPhone有兴趣,但是第一时间看到Objective-C就会头疼并伴有发烧症状的话,疗效比较好的快速治疗...原创 2009-10-25 11:54:22 · 110 阅读 · 0 评论 -
Objective-C中的一些特殊的数据类型
在Objective-C中,有一些我们之前并不熟悉但是经常见到的数据类型,比如id、nil、Nil、SEL等等。在很多文章里,我们都见过这些数据类型的介绍,但是都没有说的太清楚。 这篇文章从最底层的定义开始,介绍一下这些类型到底是怎么定义的,这会帮助我们更加深入地了解Objective-C。 原文作者为Greg Miller,文章地址在:http://uni...原创 2009-10-25 12:14:10 · 182 阅读 · 0 评论 -
How to Sort An Array in Objective-C
Arrays are structures used to hold a list of objects. Sometimes though you may want to sort the order that the elements appear.Doing this is actually pretty simple once you know how, essentially y...原创 2009-10-25 17:53:08 · 102 阅读 · 0 评论 -
How to Save the Contents of an Array to the iPhone’s Filesystem
Here is one easy way to save data in your iPhone apps.If you are using an array, say a list of strings, you can easily save that information to the documents directory of your app. In this example...原创 2009-10-25 18:02:40 · 535 阅读 · 0 评论 -
How to Use Objective-C Dictionaries
How to Use DictionariesLike an array, a dictionary is a list of objects. However, dictionaries make iteasier to organize data by providing “keys” that make it a snap to find thethings you put in t...原创 2009-10-26 00:18:38 · 132 阅读 · 0 评论 -
UITableView实例教程:创建Table View的detail view
Introduction介绍In this tutorial, you will learnhow to navigate to the detail view and also pass some data at the sametime. This is the second tutorial in the UITableView tutorial seriesand ...原创 2009-10-27 00:42:01 · 274 阅读 · 0 评论 -
搭建Windows XP下的iPhone 2.x开发环境
http://www.iphonetoolchain.cn/viewthread.php?tid=10&extra=page%3D1原创 2009-10-12 09:06:09 · 133 阅读 · 0 评论 -
琐碎收集
Interface Builder参与的内存管理问题:如果一个变量在类中被定义为了 IBOutlet 那么你无需对其进行实例化,xib载入器会对其初始化。如果一个变量在类中被定义为了 IBOutlet 那么你必须负责将其释放。xib载入器不会帮忙*切不要初始化两回,内存会溢出,而且对象锁定也会出错。--------------------------------------...原创 2009-11-26 10:14:31 · 148 阅读 · 0 评论 -
MD2关键帧动画实现方法
本想用骨骼动画的,无奈.x格式的太过于复杂,而且游戏业里也不怎么用。 只是把它的原理弄明白一些了,但是,我弱小的意志在DirectX SDK那个1000多行的SkinedMesh例子面前顺利地崩溃了,心想,还是先从最基本的关键帧动画开始做吧-_-!确定文件格式:md2(正好连找都不用找了,老师给了)以下是我Copy的:MD2文件格式简介 MD2 是Qua...原创 2009-12-01 00:53:32 · 369 阅读 · 0 评论 -
日期处理
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateStyle:NSDateFormatterMediumStyle]; [dateFormatter setTimeStyle:NSDateFormatterShortStyle]; ...2010-03-17 22:58:20 · 149 阅读 · 0 评论 -
Objective-C 2.0之前需要了解的:关于Obj-C内存管理的规则
Objective-C 2.0增加了一些新的东西,包括属性和垃圾回收。那么,我们在学习Objective-C 2.0之前,最好应该先了解,从前是什么样的,为什么Objective-C 2.0要增加这些支持。这一切都跟Cocoa内存的管理规则有关系,我们知道,Objective-C中所有变量都定义为指针。指针是一个特殊的变量,它里面存储的数值被解释成为内存里的一个地址,如果使用不当,就会...原创 2009-12-11 15:37:21 · 142 阅读 · 0 评论 -
iPhone SDK Tutorial: Reading data from a SQLite Database
I see many people asking for SQLite tutorials around, and since I am using SQLite for the next part in theAdvanced RSS Reader Tutorial, I thought I would write up a quick tutorial on using SQLite ...原创 2009-12-15 16:35:59 · 201 阅读 · 0 评论 -
tell user the status
+(UIView *)waitingView{ CGRect frame = CGRectMake(90, 190, 32, 32); UIActivityIndicatorView* progressInd = [[UIActivityIndicatorView alloc] initWithFrame:frame]; [progressInd startAni...原创 2009-12-17 17:42:09 · 3825 阅读 · 0 评论 -
Objective-C内存管理总结〜CC专版
之前写过类似的文章,这篇以做总结,希望能帮助刚上船的兄弟。^_^iPhone系统中的Objective-C的内存管理机制是比较灵活的,即可以拿来像C/C++一样用,也可以加个AutoreleasePool让它升级为半自动化的内存管理语言。当然,也不能拿JAVA虚拟机中的全自动化GC来比〜一,引用计数是实例对象的内存回收唯一参考引用计数(retainCount)是Objective-C管理对象引用的...原创 2009-12-28 11:09:31 · 228 阅读 · 0 评论 -
iPhone Coding Tutorial – In Application Emailing
A lot of applications you see have an email button. When you click it then it will leave the application and take you to the Mail application. It can get really annoying leaving the application and ...原创 2010-01-06 10:36:59 · 161 阅读 · 0 评论
分享