Début du message réexpédié :

De : Zephyroth Akash <zephyroth.os...@gmail.com>
Date : 23 octobre 2009 17:59:48 HAEC
À : Jens Alfke <j...@mooseyard.com>
Objet : Rép : Foundation Tool and NSDistributedNotificationCenter

The tool launch the application.

The application post a notification to the tool.

The tool get the notification and do its job then post back a notification to the application. But nothing happens.

I've declared and initialize a NSDistributedNotificationCenter in "main.m" which correctly handle the notifications send by the application.

I've also declared a NSDistributedNotificationCenter in "HardwareController.m" which doesn't seem to do anything ...

"main.m" and "HardwareController.m" are both in the Foundation Tool.

Le 23 oct. 09 à 17:52, Jens Alfke a écrit :


On Oct 23, 2009, at 8:37 AM, Zephyroth Akash wrote:

It works fine, the tool get the notification and do its work ... but I'm unable to notify the application that the work is done.

Are you posting another notification from your tool back to the application? In the code you posted I'm not clear what runs in the app and what runs in the tool, or which source files are in each. Could you be more clear?

—Jens



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to