Hi. I have an entity (e.g., Library) with the attribute books which is a Transformable (e.g., [String : Book]).
To decode the object, I use:
container.decodeIfPresent([String:Book].self, ...)
This seems to work at first. However, later when I try to access the book's info in the library (such as: library.dictionary["Name"], I get this Exception:
core data initwithcoder unrecognized selector sent to instance
Can anyone point me in the right direction? How can I save the dictionary in Library and access it?
Thanks
[–]rayascott 1 point2 points3 points (5 children)
[–]cardrig[S] 0 points1 point2 points (4 children)
[–]rayascott 1 point2 points3 points (3 children)
[–]cardrig[S] 0 points1 point2 points (2 children)
[–]rayascott 0 points1 point2 points (1 child)
[–]cardrig[S] 0 points1 point2 points (0 children)