CoreData and binding a TableColumn to values from another Entity
Hello mac-forums Community!
I have created 3 entities:
A <-->> B <<--> C, C has a BOOLEAN atribute.
Now I want do display, in a two Column Table, the name of A (1st column) and a boolean value (2nd column) which based on the boolean values from C.
An Object from type A (called a) owns 3 Objects from Type B (called b1, b2, b3).
Each of these 3 Objects owns 1 Object from Type C (called c1, c2, c3).
If the boolean Attribute of one of these Objects (c1, c2, c3) is TRUE, the boolean in the 2nd column have to be true.
I have tried something like that (with a custom ArrayController Class):
but an error occurred:
a1 owns no objects from type b
-b1 - c3 (boolvalue: 1)a3
-b4 - c1 (boolvalue: 1):Confused:
|All times are GMT -4. The time now is 12:16 PM.|
Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.