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

  • Home
  • SEARCH
  • 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 4599982
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:37:08+00:00 2026-05-21T23:37:08+00:00

II am trying to use Core Data for my iOS application and have been

  • 0

II am trying to use Core Data for my iOS application and have been reading many tutorials and still really confused. Is using the iphone to add reference or adding them programmatically the only 2 ways to add row? I mean if I had a product catalog of 20 items I would need to type the code 20 times? Or could I just add row because the application is supposed to be read-only. Or am I just better off wth sqlite instead of Core Data? thanks in advance.

  • 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-05-21T23:37:09+00:00Added an answer on May 21, 2026 at 11:37 pm

    The easiest way is to write a quick Mac app to do the editing, using the same data model file.

    If you’re using Xcode 3, do this. Create a new Mac app that uses Core Data, and drag in your data model (removing the default data model it creates for you). Then, open the .xib file for the Mac app’s main window in Interface Builder. Switch back to Xcode and open the data model.

    Pick the entity you want an editor for. Then hold down option (alt), and drag the entity from the data model editor into Interface Builder. It automatically creates a user interface for editing the database, which you can then save and run through Xcode.

    Make sure that your Mac app is creating an sqlite data store (look through the code that Xcode created for you by default, it may have defaulted to XML and you’ll have to change it). The file that app creates can then be dropped straight into an iPhone app.

    Sadly, Xcode 4 can’t do the automatic laying out of a database editing UI. If you’re using Xcode 4, you’d have to lay out the UI manually.

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

Sidebar

Related Questions

I am trying to use two different Core Data Models in a iPhone application,
I'm using Core Data in my first iPhone application and trying to understand NSFetchedResultsController.
I'm trying to use core data in a multi thread way. I simply want
I'm trying to use Apple Core Data Sample code as a basis for my
I'm trying to convert an existing app to use core data. I've set up
While trying to use LINQ to SQL I encountered several problems. I have table
I've been trying to use SQLite with the PDO wrapper in PHP with mixed
I'm using CoreData (with SQLite as the store) in an iOS 4 iPhone application
I am trying to plan out a few iOS/server apps for internal use. On
What actually happens behind the scenes when you select the Use Core Data for

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.