Core Data - Can the auto-generated source code of a data model be seen?

Joined
Jul 10, 2011
Messages
1
Reaction score
0
Points
1
Hi, when we create a Core Data application and create the data model in the canvas in the .xcdatamodeld file in Xcode4, is it possible to see the source code that Xcode4 would have generated for it.

For example, when I create an entity and put an attribute in it, somewhere the Xcode would have generated the code which sends the message setProperties: to that entity. Can all this be seen somewhere?

I am trying to understand how exactly the persistence stack created. Is there a separate context or stack created for every entity, do multiple contexts link to the same coordinator, etc.

I looked over in the appdelegate file as it did have stack creation, etc. but not the specific details where the entity is being created, etc.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top