Re: Core Data to many relationship deletion causing exception - SOLVED?

2011-08-16 Thread Quincey Morris
On Aug 16, 2011, at 13:14 , Andrew Kinnie wrote: > Hmm. Well the generated code was created by Xcode 4's "Create > NSManagedObject Subclass" based on the model. The properties are created > along with the methods, however due to an earlier issue, I changed @dynamic > to @synthesize for the v

Re: Core Data to many relationship deletion causing exception - SOLVED?

2011-08-16 Thread Andrew Kinnie
Hmm. Well the generated code was created by Xcode 4's "Create NSManagedObject Subclass" based on the model. The properties are created along with the methods, however due to an earlier issue, I changed @dynamic to @synthesize for the various properties in the .m for Article and MediaResource.

Re: Core Data to many relationship deletion causing exception

2011-08-16 Thread Keary Suska
On Aug 16, 2011, at 12:18 PM, Andrew Kinnie wrote: > I have an iOS 4 + app, which is now being retrofitted to use Core Data. I > have an Entity "Article" which has a to-many relationship to another Entity > "MediaResource" and I generated NSManagedObject subclasses for each. The > relationshi

Core Data to many relationship deletion causing exception

2011-08-16 Thread Andrew Kinnie
Greetings, I have an iOS 4 + app, which is now being retrofitted to use Core Data. I have an Entity "Article" which has a to-many relationship to another Entity "MediaResource" and I generated NSManagedObject subclasses for each. The relationship is called "media" and is set to be optional, a