Nib loading and distributed object problems
Nib loading and distributed object problems
- Subject: Nib loading and distributed object problems
- From: Art Jacobson <email@hidden>
- Date: Wed, 14 Dec 2005 14:18:27 -0500
I have an application which spawns several worker threads in the
background during startup (in the awakeFromNib method). These threads
communicate with each other using distributed objects. My problem is
that, at the end of awakeFromNib, I call:
[[NSRunLoop currentRunLoop] run];
Everything works fine (threads can send and receive messages), but
obviously the nib never finishes loading, because awakeFromNib never
returns. When I do not start the run loop manually, the nib will
load, but the threads can no longer communicate (application crashes
whenever a "distant object" is referenced).
Am I missing something here? Any help would be greatly appreciated.
--
Art Jacobson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden