Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在使用 NSUserDefaults 来保存我的游戏分数,但我想把它带到另一个级别来存储所有游戏状态(硬币、分数、创建的敌人、覆盖的距离等等)。如何使用 NSUserDefaults 有效地保存和加载游戏的所有这些多个参数?