• 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
Checking validity/availability of Distributed Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checking validity/availability of Distributed Objects


  • Subject: Checking validity/availability of Distributed Objects
  • From: Jacob Bandes-Storch <email@hidden>
  • Date: Thu, 20 Dec 2007 18:54:34 -0800

I've got a distributed object connection set up between my preference pane and its helper application, as explained at http://developer.apple.com/documentation/UserExperience/Conceptual/PreferencePanes/Tasks/Communication.html#/ /apple_ref/doc/uid/20000708 . I need to check if the object is still valid, to see if the application is still running, and also try to get the object if it's not valid. if(object){ ... seems unreliable, it can execute even if the application is closed, if the prefpane has previously made a connection. I'm also seeing "connection went invalid while waiting for a reply" in the Console, but I can't figure out exactly when it shows up. How can I check to see if the object is still valid?
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: NSTextField: How to DEselect text?
  • Next by Date: Re: Opacity of Menus
  • Previous by thread: Re: NSTask setStandardOutput bug?
  • Next by thread: NSFileWrapper (directory) and internal folders
  • Index(es):
    • Date
    • Thread