Re: a few Core Data questions: Predicates and document based app

2008-12-18 Thread Quincey Morris
On Dec 18, 2008, at 11:18, Michael B Johnson wrote: I guess that's my question, though. Why is that a bad thing, to have three relationships from on entity all pointing to another entity, which is only pointing to the other entity once? It's not a *bad* thing, but the model editor won't le

Re: a few Core Data questions: Predicates and document based app

2008-12-18 Thread Michael B Johnson
On Dec 18, 2008, at 11:04 AM, mmalc Crawford wrote: On Dec 18, 2008, at 10:47 AM, Michael B Johnson wrote: I have an entity (let's called it MyThing) that has an optional parentThing relationship. I'm interested in MyThings that either don't have their parent set, ("parentThing == NIL")

Re: a few Core Data questions: Predicates and document based app

2008-12-18 Thread mmalc Crawford
On Dec 18, 2008, at 10:47 AM, Michael B Johnson wrote: I have an entity (let's called it MyThing) that has an optional parentThing relationship. I'm interested in MyThings that either don't have their parent set, ("parentThing == NIL") or have their parent set to themselves ("parentThing

a few Core Data questions: Predicates and document based app

2008-12-18 Thread Michael B Johnson
Getting back into Core Data over the holidays, and I've got a few questions. First, the easy one: I have an entity (let's called it MyThing) that has an optional parentThing relationship. I'm interested in MyThings that either don't have their parent set, ("parentThing == NIL") or have t