TalaT
TalaT

Reputation: 953

Warning in core data database

I have created core data database in xcode. i haven't insert any thing in DB and getting following worning. DipItItemOptions has a relationship with DipItItems entity

DipItItemOptions.newRelationship1 should have an inverse

Upvotes: 1

Views: 444

Answers (1)

Hollance
Hollance

Reputation: 2976

It is recommended that relationships in Core Data work both ways. So if DipItItemOptions has a relationship with DipItItems, then DipItItems should also have a relationship with DipItItemOptions. It's not always necessary but recommended anyway.

Upvotes: 5

Related Questions