Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Based on your questions <a href="https://stackoverflow.com/questions/2026000/adding-core-data-to-an-existing-iphone-app">here</a> and <a href="https://stackoverflow.com/questions/2025874/how-to-add-sqlite-as-persistent-store-in-coredatta-concept-in-objective-c">here</a>, it sounds like you're just getting started with Core Data. I'd highly recommend reading through the <a href="http://developer.apple.com/iphone/library/referencelibrary/GettingStarted/GettingStartedWithCoreData/index.html" rel="nofollow noreferrer">Getting Started with Core Data</a> guide, as well as the <a href="http://developer.apple.com/iphone/library/documentation/DataManagement/Conceptual/iPhoneCoreData01/Introduction/Introduction.html" rel="nofollow noreferrer">Core Data Tutorial for iPhone OS</a>, because Core Data can be a little complex for someone new to it. Additionally, you can look at the answers to these questions:</p> <ul> <li><a href="https://stackoverflow.com/questions/1656476/new-to-core-data-for-iphone">New to Core Data for iphone</a></li> <li><a href="https://stackoverflow.com/questions/1714054/cocoa-core-data-newbie-how-tos">Cocoa Core Data newbie how-tos</a></li> <li><a href="https://stackoverflow.com/questions/1581599/getting-started-in-core-data-for-iphone">Getting started in Core Data for iPhone?</a></li> </ul> <p>You have started to create your Core Data stack with the snippet of code posted above, but you'll need to set up the rest of it. You need to create a managed object model (your data model designed in Xcode), as well as create a managed object context to go along with your persistent store coordinator. These three elements work together to let you save data within your persistent store. Again, I highly recommend reading the above resources, which go into this in much greater detail.</p> <p>Once you have your Core Data stack set up, you will be able to retrieve data from the managed object context using fetch requests (and / or a NSFetchedResultsController) and insert new data into the context by creating new NSManagedObjects that use one of the entity descriptions from your managed object model. If none of this makes sense, again I'd say that you should start with Apple's documentation linked above.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload