Re: When in the launch cycle does coredata data become available.

2008-03-03 Thread Adam Gerson
> > Thanks, this does directly address my question. Not exactly sure what > > to do with it. I tried calling fetchWithRequest:merge:error: in > > awakeFromNib and then trying to access the managed object, but that > > didn't work. > > > Is the outlet to the array controller connected? > > mm

Re: When in the launch cycle does coredata data become available.

2008-03-03 Thread mmalc crawford
On Mar 3, 2008, at 2:27 AM, Conor wrote: Some of the setup methods are on a queue in the run loop and are done after applicationDidFinishLaunching: (in this case the content object of your array controller is not yet populated as the core data fetch hasn't been done yet). Run your method

Re: When in the launch cycle does coredata data become available.

2008-03-03 Thread Conor
Some of the setup methods are on a queue in the run loop and are done after applicationDidFinishLaunching: (in this case the content object of your array controller is not yet populated as the core data fetch hasn't been done yet). Run your method by placing it on the queue during applicationDidFin

Re: When in the launch cycle does coredata data become available.

2008-03-02 Thread Adam Gerson
Hi mmalc, Thanks, this does directly address my question. Not exactly sure what to do with it. I tried calling fetchWithRequest:merge:error: in awakeFromNib and then trying to access the managed object, but that didn't work. Adam On Sun, Mar 2, 2008 at 9:59 PM, mmalc crawford <[EMAIL PROTECTED]

Re: When in the launch cycle does coredata data become available.

2008-03-02 Thread mmalc crawford
On Mar 2, 2008, at 6:36 PM, Adam Gerson wrote: NSArray *allServers = [serverLibraryArrayController arrangedObjects]; This code works just fine with I invoke it with a button click. However, if I put it in awakeFromNib or ApplicationDidFInishLaunching it returns nil.

When in the launch cycle does coredata data become available.

2008-03-02 Thread Adam Gerson
I am trying to programatically get some data from an array controller when my program launches. NSArray *allServers = [serverLibraryArrayController arrangedObjects]; This code works just fine with I invoke it with a button click. However, if I put it in awakeFromNib or ApplicationDidFInishLaunchi