• 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
Programmatically creating CoreData Entities - Source Code for Newbies?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatically creating CoreData Entities - Source Code for Newbies?


  • Subject: Programmatically creating CoreData Entities - Source Code for Newbies?
  • From: Vince Ackerman <email@hidden>
  • Date: Fri, 31 Mar 2006 07:31:44 -0800

I'm trying to get a handle on CoreData, and have read all of Apples CoreData Docs and the tutorials on CocoaDevCenter, as well as scouring this list for examples. My problem as a novice is that I can't find any examples of creating programmatically what all of the examples do using the GUI.

Specifically what I want to do is to read in a text file and parse out my data, load up the attributes of each entity, then save the data and present it graphically. The user does not create the data nor alter it. The user would be able to sort it. I have created the Object Model that has 6 different entities all linked as relationships, 1 to many, to each other.

None of the examples I've studied give me an much of an idea on how to do this. They do mention how to create and delete objects, but what I'm having trouble with is the layout of the project, where I should be putting the code for creating entities, which object needs to have a controller in the NIB, etc. If I could find someone's source code to look at that is doing something similar, that would be a huge help.

Can anyone point me to a simple example source code that does something like this? That way I wouldn't have to bother you with stupid newbie questions!

Thanks

Vince

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Programmatically creating CoreData Entities - Source Code for Newbies?
      • From: mmalcolm crawford <email@hidden>
References: 
 >CoreData app random crash on startup (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: keydown events + full-screen nswindow subclass
  • Next by Date: Re: Help in 2 Diamensional Array
  • Previous by thread: CoreData app random crash on startup
  • Next by thread: Re: Programmatically creating CoreData Entities - Source Code for Newbies?
  • Index(es):
    • Date
    • Thread