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

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

问题描述

我想在我的iPhone应用程序中实现Core Data。那么,什么是最好的方式来学习Core数据专门为iPhone?我有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.

推荐答案

我想要给用户保存数据集,读取,编辑,删除等操作的能力。 核心数据入门 在iPhone开发中心为我做的伎俩。 : - )

Getting Started with Core Data in the iPhone Dev Center did the trick for me. :-)

没有,严重的,它可能看起来像明显的建议,但单页文档提出了一个不错的策略,文档和教程阅读,订购。一旦你完成了第一个教程,它建议,奇怪的术语会感觉很少奇怪。

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天全站免登陆