需要iPhone中核心数据的简单示例程序
请分享一个简单的程序(或链接)来了解 iPhone 中的核心数据。该程序应涵盖 add &删除表视图中的条目。最好没有 IB 项目。
谢谢
Could please share a simple program(or link) to understand core data in iPhone. The program should cover add & delete a entry in table view. Program without IB is preferable.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
阅读 Apple 关于 CoreData 的博客
构建示例 Core Data 应用程序
了解更多
Cocoa 开发中心 。文章。构建核心数据应用
iPhone 核心数据:您的第一步
核心数据教程:入门
Read the blog on CoreData from apple
Building a Sample Core Data Application
Read more
Cocoa Dev Central . Articles . Build a Core Data App
iPhone Core Data: Your First Steps
Core Data Tutorial: Getting Started
你读过苹果开发者中心的核心数据编程指南吗? 链接
Have you read through the core data programming guide on the Apple Developer center? link
看看斯坦福iPhone开发课程,特别是第12讲
http://www.stanford.edu/class/cs193p /cgi-bin/drupal/downloads-2010-fall
苹果在开发者计划中也有很多示例代码,包括对核心数据的精彩介绍http://developer.apple.com/library/ios/#documentation/DataManagement/Conceptual/iPhoneCoreData01/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008305
Take a look at the Stanford iPhone development course, in particular lecture 12
http://www.stanford.edu/class/cs193p/cgi-bin/drupal/downloads-2010-fall
Apple also have a lot of sample code in the developer program, including an excellent introduction to core data http://developer.apple.com/library/ios/#documentation/DataManagement/Conceptual/iPhoneCoreData01/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008305
我也在寻找与此相关的简单示例,但不幸的是找不到它直接告诉我。这是我准备的。这是一个非常基本的示例 iOS 项目,仅显示使用纯 Core Data 框架在 SQLite 中保存和检索数据。
http://www.iosmobileapps.biz/examples/CoreDataEx.zip
希望您会发现这很有用。
I was also looking for simple example regarding this but unfortunately could not found which tells me straight forward. Here is what I have prepared. It is very basic example iOS project, shows only save and retrieve data in SQLite using pure Core Data framework.
http://www.iosmobileapps.biz/examples/CoreDataEx.zip
Hope you will find this useful.