• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Nib loading and distributed object problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Can I Send Apple Events in Cocoa?
  • Next by Date: Study of Crashes and Leaks in NSURLConnection
  • Previous by thread: Re: KVO / Core Data question
  • Next by thread: Study of Crashes and Leaks in NSURLConnection
  • Index(es):
    • Date
    • Thread