Added Support for Relationships on NSManagedObjects#5
Added Support for Relationships on NSManagedObjects#5hirad wants to merge 3 commits intosmyrgl:masterfrom
Conversation
…s accordingly and made them pass.
|
@hirad Would you mind opening this same PR against my fork (since this repo seems to be unmaintained)? I want to add support for NON-CoreData relations as well, and would like to integrate your CoreData changes and follow the same process. |
|
@ehlersd you don't need a PR on your fork to do that. And then you can merge ( |
|
@yas375 Thanks! That worked great. |
|
@ehlersd Great to hear there is an active fork. This PR was a bit of a hail-mary in case people who needed this functionality would see it here ;) |
|
@hirad I'm not currently using CoreData in this project, but I do want to improve the way it deals with nested non-CoreData objects. I also plan to add Realm.io object support as well. Any and all PR's are welcomed to advance this forward. |
If you have two entities, both of whose classes conform to
TGFoundryObject, you can have related objects created automatically when you create instances of one.Tests and docs updated accordingly, as well.