Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8373251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:37:54+00:00 2026-06-09T14:37:54+00:00

I am trying to use CoreData in a non-document based (single-coordinator) application. I’ve searched

  • 0

I am trying to use CoreData in a non-document based (single-coordinator) application. I’ve searched high and low for a good example and tested out a few different ways but -being a complete newbie to Mac OS X development- have been unable to find anything that works.

Basically I have an app where a NSTableView lists a few entries, each of which can be edited and its associated data saved. The data is not document based but should be stored in a “central store” of some sort. I have the model set up nicely and I can populate the items in the table manually. The question is merely this: how can I use CoreData to save the data persistently so that next time the app fires up the data can be loaded up again.

There’s a good one-line summary of what I’m looking for here:
“These applications typically have a single Core Data stack (as defined by a single persistent store coordinator) managed by a single controller object. They generally use a single persistent store for the whole application.”

http://developer.apple.com/library/ios/#documentation/DataManagement/Conceptual/CoreDataSnippets/Articles/stack.html

Are there any good tutorials or quick code samples where I can see how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:37:55+00:00Added an answer on June 9, 2026 at 2:37 pm

    Why don’t you create a new xcode project, selecting a cocoa application and checking the use core data flag but not the document based flag, then look at what xcode generated?

    Either you replicate that in your project or you move your existing code in the new template.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying use gem tire to search in my application. I have tables
I am trying to use CoreData to populate a UITableView. I have been using
I am trying to use validatevalue:forkey: method to validate a coredata property. I have
I am trying to use two different Core Data Models in a iPhone application,
I am trying to implement CoreData in my application to store a small database.
I have a document-based Core Data application (running on Mac OS X 10.5 and
I'm trying to implement search code in my CoreData-based iPhone app. I'm not sure
An existing document based application that saves and loads it's data using NSKeyedArchiver /
I am trying to use CoreData in a SenTestCase. The problem is the NSManagedObjectModel
I am trying to use Core Data in an app I'm working on; in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.