雨雪霏霏 – iPhone博客

Archive for May, 2010

10 May, 2010

iPhone游戏该如何保存

Posted by: 雨雪霏霏 In: iPhone

对于任何做iPhone游戏的开发者,如何保存游戏是一个必需解决的问题。这里转一篇非常赞的文章,里面简单明了地介绍了解决办法。我懒得翻译了,如果你更懒以至于不愿意读英文说明的话,可以直接看代码,挺清晰的。 原文链接:http://deadpanic.com/howtosave How to save your game (or any object) on the iPhone Warning to some, bonus to others: this post is less markety and more code-heavy. It also reveals some info about the architecture of “Dead Panic.” Newcomers to iPhoneDevSDK often ask how to convert a string to bytes for writing to a file [...]


About

About Google, about Apple, about phones and browsers, about science and technologies.

Subscribe