• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help needed with saving Core Data app data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed with saving Core Data app data


  • Subject: Re: Help needed with saving Core Data app data
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 2 Mar 2007 22:47:58 -0500

On Mar 2, 2007, at 10:21 PM, Yevgeniy Goldberg wrote:
If I create my application as regular instead of document-base will I still have the benefits of data store persistency and SQLite3 as a back-end?

That's why the template is called "Core Data Application", yes. :-) Core Data is still Core Data whether used in a document- based application (ie, with NSPersistentDocument) or not.


It's been stated previously on this list in the past that developers should not attempt to leverage Core Data until they have a good solid understanding of the more basic Cocoa technologies. It sounds like you're a bit new to Cocoa in general and don't yet understand the difference between a plain application and a document- based one.

I'd strongly recommend going through more of the basic tutorials and guides in the ADC Reference Library to get a better handle on the difference between doc-based and non-doc-based apps. Then move on to the Core Data Programming Guide to learn the fundamentals of Core Data itself. No matter what, as a developer, you have a *lot* of reading to do.

All that said, the short of it is this: the thing you're missing in this case is simply saving persistent data in a non-document-based application. The fact that it's a Core Data store really doesn't matter - the overall mechanism is the same and the "Core Data Application" project template's code does this for right out of the box (unless you've incorrectly modified it).

--
I.S.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Help needed with saving Core Data app data (From: Yevgeniy Goldberg <email@hidden>)
 >Re: Help needed with saving Core Data app data (From: mmalc crawford <email@hidden>)
 >Re: Help needed with saving Core Data app data (From: Yevgeniy Goldberg <email@hidden>)
 >Re: Help needed with saving Core Data app data (From: "I. Savant" <email@hidden>)
 >Re: Help needed with saving Core Data app data (From: Yevgeniy Goldberg <email@hidden>)
 >Re: Help needed with saving Core Data app data (From: "I. Savant" <email@hidden>)
 >Re: Help needed with saving Core Data app data (From: Yevgeniy Goldberg <email@hidden>)

  • Prev by Date: Re: Help needed with saving Core Data app data
  • Next by Date: C callback function
  • Previous by thread: Re: Help needed with saving Core Data app data
  • Next by thread: webFrame loadHTMLString and images
  • Index(es):
    • Date
    • Thread