mac-samples/NSPortExample
Craig a6577adcdf sample metadata schema fix (remove tech) 2019-07-19 18:59:42 -07:00
..
MessageReceiver Force type cast for AppDelegate 2016-10-18 02:07:35 -03:00
MessageSender Updated min deployment version (#113) 2018-11-15 03:52:17 -05:00
Screenshots NSPortExample 2015-06-05 09:08:55 -05:00
Metadata.xml [NSPortExample] Update metadata + fix static analyzer issues 2015-10-30 16:01:04 -03:00
Readme.md sample metadata schema fix (remove tech) 2019-07-19 18:59:42 -07:00

Readme.md

name description page_type languages products urlFragment
Xamarin.Mac - NSPortExample The following is an example showing use of NSMessagePort & CFMessagePort to send information cross process, between applications. In the case of... sample
csharp
xamarin
nsportexample

NSPortExample

The following is an example showing use of NSMessagePort & CFMessagePort to send information cross process, between applications. In the case of this example, from a Xamarin.Mac C# program to a running Objective-C program.

The example is based off the Inter-Process Communication article by Mattt Thompson.

Note: There are a few binding that are used in the article that are not currently available in Xamarin.Mac. These are being tracked by this Bugzilla defect.

Running this Example

Follow these instructions to run this sample:

  1. Build and launch MessageReceiver first (via XCode)
  2. Build and launch MessageSender (via Xamarin Studio)
  3. Type a string in the MessageSender and hit the Send button
  4. The message will appear in the MessageReceiver application