Re: window controllers and managed object contexts

2008-10-06 Thread Negm-Awad Amin
Am Sa,27.09.2008 um 19:01 schrieb Daniel Child: Hmm, well that seems to be the catch. I can't get the bindings to work for the MOC. First off, to set up the table displayed in the window loaded with a separate nib file, I simply dragged in an entity object from the Librarian. That doesn't

Re: window controllers and managed object contexts

2008-09-27 Thread Daniel Child
Hmm, well that seems to be the catch. I can't get the bindings to work for the MOC. First off, to set up the table displayed in the window loaded with a separate nib file, I simply dragged in an entity object from the Librarian. That doesn't set up an MOC binding, but, following an on- line

Re: window controllers and managed object contexts

2008-09-27 Thread mmalc crawford
On Sep 27, 2008, at 10:01 AM, Daniel Child wrote: but the tutorial online uses plain accessors (with the local copy of MOC as an ivar, not a property) ... and works. One difference is that their's is a doc-based CoreData app, and mine is not. But I don't see why that should matter

window controllers and managed object contexts

2008-09-26 Thread Daniel Child
To avoid cluttering up my main AppController (which had five windows), I've started placing the individual windows into separate xib files. Pre-Core Data (for a regular cocoa app), I would simply set up a window controller, establish a reference to it in the main controller

Re: window controllers and managed object contexts

2008-09-26 Thread Kyle Sluder
On Fri, Sep 26, 2008 at 2:33 PM, Daniel Child [EMAIL PROTECTED] wrote: I tried this, but with Core Data, I'm getting a message that I need a managed object context (moc). I know how to get the moc, but I can't figure out who is calling for the moc in the first place. Something inside of the