On Sep 17, 2009, at 6:46 PM, Mantas Masalskis wrote:

I'm loading Core Data object via Managed Object Context in IB. It looks like it hasn't finished loading when applicationDidFinishLoading is fired.


Perhaps thinking about this a different way would clarify things. You don't "load a context". You create a context and use it to fetch objects from the store (or merely to create objects if you're using an in-memory store).

So, if you have some controllers that aren't ready yet, you can simply instruct them to -fetch: ... this will force them to fetch immediately, rather than waiting for a future cycle of the run loop.

What is the appropriate way to do smth once Managed Object Context is loaded?

  What's a "smth"?

--
I.S.


_______________________________________________

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 arch...@mail-archive.com

Reply via email to