• 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
Re: Inter-Application Communication in Cocoa ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inter-Application Communication in Cocoa ?


  • Subject: Re: Inter-Application Communication in Cocoa ?
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 12 Sep 2002 10:24:03 -0700

On Thursday, September 12, 2002, at 07:20 AM, Robert Miller wrote:

> This is probably a very basic question. Can someone tell me what the
> preferred method for handling communication between multiple
> applications is under Cocoa ? I haven't been able to uncover a
> definitive answer, am I missing something ? Are there any examples
> available ?

Here is an answer I recently posted to a similar question elsewhere:

> There are many different interprocess communication mechanisms
> available to you on Mac OS X. Here are a few of them, roughly in
> increasing order of layering: Mach ports, sockets, CFMachPort,
> CFSocket, CFMessagePort, distributed notifications, AppleEvents,
> NSMachPort, NSSocketPort, NSMessagePort, distributed objects.
>
> For broadcast local-machine communications, the natural choice would
> be distributed notifications. For connection-oriented communications
> between Cocoa apps, the natural choice would be distributed objects.
> You can find both of these documented on developer.apple.com, but here
> is a page that is particularly on point for system preferences:
>
> http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/
> PreferencePanes/Tasks/Communication.html

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Inter-Application Communication in Cocoa ? (From: Robert Miller <email@hidden>)

  • Prev by Date: Re: [newbie] NSString code so it won't leak
  • Next by Date: Re: [Q] Activating an NSButtonCell
  • Previous by thread: Re: Inter-Application Communication in Cocoa ?
  • Next by thread: Re: Inter-Application Communication in Cocoa ?
  • Index(es):
    • Date
    • Thread