Re: Foundation Tool and NSDistributedNotificationCenter

2009-10-23 Thread Jerry Krinock
On 2009 Oct 23, at 08:37, Zephyroth Akash wrote: [[NSRunLoop currentRunLoop] run]; I believe you need to read All About Run Loops... http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#/ /apple_ref/doc/uid/1057

Fwd: Foundation Tool and NSDistributedNotificationCenter

2009-10-23 Thread Zephyroth Akash
Début du message réexpédié : De : Zephyroth Akash Date : 23 octobre 2009 17:59:48 HAEC À : Jens Alfke 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

Re: Foundation Tool and NSDistributedNotificationCenter

2009-10-23 Thread Jens Alfke
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 c

Foundation Tool and NSDistributedNotificationCenter

2009-10-23 Thread Zephyroth Akash
Hi, I'm writing a Foundation Tool which detect some hardware components and launch an application. Once the application is running it ask the user to make a choice and then post a notification to the "daemon". It works fine, the tool get the notification and do its work ... but I'm unab