• 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
creating new instance of coredata entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

creating new instance of coredata entity


  • Subject: creating new instance of coredata entity
  • From: Amy Heavey <email@hidden>
  • Date: Thu, 11 Sep 2008 09:44:13 +0100

Hi,

Sorry for the newbie question,

I'm trying to write an app to access/edit data held in an sqlite file generated by another coredata app. I need to be able to access the data in ways not possible in the original app (not created by me)

Following some advice from this list, I have imported the datamodel into my app, which seems fine. I need to import data into this, and I've modified the sample application in Aaron Hillegass book to pull data from my website like the amazone example.

So far It's pulling the xml from my site, and displaying it in the tablevew, however I now need to loop over each row in the table, and create a new instance of an entity defined in the datamodel.

Can anyone point me in the right direction? I don't know how to reference the class in the datamodel as my class can't see it?

Many Thanks

Amy


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: creating new instance of coredata entity
      • From: Jamie Hardt <email@hidden>
  • Prev by Date: Re: Cocoa application running very slow under 64 bit
  • Next by Date: Re: Inter-machine notifications
  • Previous by thread: Re: NSArrayController fetchPredicate behaving badly
  • Next by thread: Re: creating new instance of coredata entity
  • Index(es):
    • Date
    • Thread