Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Core Data setting One-To-Many in XCode 4.3.1

I'm trying to understand how to set up a one-to-many relationship in Xcode 4.3.1. Usually there was a Utilities pane with a "Plural" option, but I can't find it anymore. Does anyone know if this option was move somewhere else?

Thank you :)

like image 281
Shai Mishali Avatar asked Mar 29 '12 21:03

Shai Mishali


People also ask

What is relationship in Core Data?

Inverse relationships enable Core Data to propagate change in both directions when an instance of either the source or destination type changes. Every relationship must have an inverse. When creating relationships in the Graph editor, you add inverse relationships between entities in a single step.

How do you use transformable Core Data?

To implement a Transformable attribute, configure it by setting its type to Transformable and specifying the transformer and custom class name in Data Model Inspector, then register a transformer with code before an app loads its Core Data stack.

What is transformable type in Core Data?

When you declare a property as Transformable Core Data converts your custom data type into binary Data when it is saved to the persistent store and converts it back to your custom data type when fetched from the store. It does this through a value transformer.

What is Core Data stack in Swift?

Overview. Core Data provides a set of classes that collaboratively support your app's model layer: An instance of NSManagedObjectModel describes your app's types, including their properties and relationships. An instance of NSManagedObjectContext tracks changes to instances of your app's types.


1 Answers

Guess that's what you are looking for:

enter image description here

like image 88
Andy Friese Avatar answered Oct 21 '22 07:10

Andy Friese