iPhone 的 Core Data 入门? [英] Getting started in Core Data for iPhone?

查看:18
本文介绍了iPhone 的 Core Data 入门?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的 iPhone 应用中实现 Core Data.那么专门为 iPhone 学习 Core Data 的最佳方法是什么?我今天有 4 个小时可以用于此,因此理想情况下,我有足够的能力将其添加到我的应用程序中(无论多么轻微).

I want to implement Core Data into my iPhone app. So what is the best way to learn Core Data specifically for the iPhone? I have 4ish hours that i can devote to this today, so ideally I would be competent enough to add this (however slightly) into my app.

我现在保留数据的唯一方法是通过 NSUserDefaults,这样当应用程序关闭并重新打开时,它们的数据仍然存在.我想让用户能够保存数据集、读取数据、编辑数据、删除数据等.

The only way i retain data now is through NSUserDefaults, just so that when the app is closed and reopened, their data is still there. I want to give the user the ability to save sets of data, read them, edit them, delete them, etc.

推荐答案

核心数据入门 对我有用.:-)

不,说真的,这似乎是显而易见的建议,但该一页文档为阅读哪些文档和教程以及阅读顺序制定了一个很好的策略.一旦你完成了它推荐的第一个教程,奇怪的术语就会变得不那么奇怪了.

No, seriously, it might seem like obvious advice, but that one-page document lays out a nice strategy for which documents and tutorials to read and in which order. Once you work through the first tutorial it recommends, the weird terminology will feel a lot less weird.

这篇关于iPhone 的 Core Data 入门?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆