How to work with 1 to 1 relationship in core data?

Asked

Viewed 103 times

0

How do I perform operations relating entities in Core Data? These operations will relate data between 2 entities, being of type 1 to 1.

I want to relate the image attribute of table 1 to the pathimage field of table 2.

Example: inserir a descrição da imagem aqui

I wonder if this will cause the picture field in table 1 to "store" the value contained in the pathimagem field in table 2... or be equivalent to that?

If anyone knows a link to a good tutorial explaining this in detail will be welcome too!

1 answer

0


I bypassed this query by fetching the data and comparing it, and adding the value no to a given field, so the object’s "flag" value was found.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.