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 by placing it on the queue during
applicationDidFinishLaunching with:
[self performSelector:@selector(methodThatWillDoSomethingWithMyServers:)
withObject:nil afterDelay:0.0];

There should be no need to do this -- there's a perfectly good documented way to perform the fetch immediately.


On Mar 2, 2008, at 9:43 PM, Adam Gerson wrote:

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?

mmalc


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to