Re: Weird Core Data crash

2011-11-30 Thread Andrew Kinnie
hread based mocs for the fairly heavy lifting. Thanks again. Andrew On Nov 29, 2011, at 8:51 AM, Fritz Anderson wrote: > On 29 Nov 2011, at 7:21 AM, Andrew Kinnie wrote: > >> This method may be called from the main thread or from a background thread, >> but

Weird Core Data crash

2011-11-29 Thread Andrew Kinnie
Greetings, We have an app which uses Core Data as a data store for some of it's data, and had a crash with the following message: "NULL _cd_rawData but the object is not being turned into a fault" It LOOK like it is trying to turn a null into a fault, but this seems to be deep under the covers

Re: Core Data Xcode 4 question

2011-09-02 Thread Andrew Kinnie
Thanks. I will give that a try. I have used EOGenerator many times (mostly automatically). My only concern now is not overwriting the exiting concrete classes. But I can handle that pretty easily. All in all, I love the idea, though I wish the automatic plugin worked in Xcode 4. On Sep 1

Re: Core Data Xcode 4 question

2011-09-01 Thread Andrew Kinnie
Last I looked at mogenerator, it didn't support Xcode 4. On Sep 1, 2011, at 5:21 PM, Sean McBride wrote: > On Thu, 1 Sep 2011 16:19:07 -0400, Andrew Kinnie said: > >> I have a Core Data implementation, using generated subclasses of >> NSManagedObject for some of my

Re: Core Data Xcode 4 question

2011-09-01 Thread Andrew Kinnie
Thanks. Maybe I'll try that. On Sep 1, 2011, at 5:10 PM, Quincey Morris wrote: > On Sep 1, 2011, at 13:19 , Andrew Kinnie wrote: > >> I used Xcode 4 to generate the initial subclass, then added other business >> rules methods as needed. I noticed, however, that t

Core Data Xcode 4 question

2011-09-01 Thread Andrew Kinnie
Greetings, I have a Core Data implementation, using generated subclasses of NSManagedObject for some of my entities. I used Xcode 4 to generate the initial subclass, then added other business rules methods as needed. I noticed, however, that the to-many relationship methods are stubbed in to

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

2011-08-16 Thread Andrew Kinnie
_NSSet0 singleton object. Thanks On Aug 16, 2011, at 3:45 PM, Keary Suska wrote: > 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 rela

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