Core Data with SwiftUI Tutorial: Getting Started | raywenderlich.com

Good afternoon, I have a problem managing the functioning of the relationships between entities in CoreData.
I have a table that virtualizes a client:

  1. denomination
  2. VAT number
  3. address
  4. telephone
  5. Agent ()
  6. Payments ()

point 5 () Agent should give the possibility to connect another entity that goes to connect the agent data:
a) agent name
b) agent address
c) VAT agent number

point 6 should also be linked to another entity that describes the collection methods of that customer:
I) payment description
II) number of payment installments
III) days of first installment payment …

I know this is an elementary subject, I am studying the “Beginning Core Data” lessons. In lesson 16 I see the same kind of relationship being created but I can’t reproduce it in any way.
Thanks a lot David.