Am 09.07.2011 um 19:52 schrieb Heizer, Charles:

> Hello,
> I'm trying to use NSDistributedNotificationCenterMBS to post a notification 
> and I'm using a Cocoa application to ready it. The problem is I'm not seeing 
> the notification on my cocoa app. I do this all the time using two Cocoa apps 
> and it works great and I would really like to do it with my RB app.

I don't see where you call NSDistributedNotificationCenterMBS.defaultCenter.

This works for me:

  dim notifyData as string = "Hello World"
  dim notifyName as string = "Test"
  
  Dim notifyDict As New Dictionary
  notifyDict.Value("nData")=notifyData
  
NSDistributedNotificationCenterMBS.DefaultCenter.postNotificationName(notifyName,
 "", notifyDict, 2)
  
In my NSDistributedNotificationCenterMBS receiver.rbp example project, I see 
the notification being received.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to