On 2009 Mar 15, at 09:03, Jean-Daniel Dupas wrote (in thread "GUI Calls in Tool Executable..."):

Just to complete the answer, the correct way to display alert from a background process is to use the CFUserNotification API.

Thanks, I wasn't even aware of that. I was thinking of using Growl if my agent ever needed to speak with the user. After a few minutes of reading, it appears that ...

Advantages of Growl:
   Probably looks nicer
   Configurable by user
   Objective-C -- API looks easier to use

Advantages of CFUserNotification
   No extra framework to package
   Not configurable by user (Good if you don't want this)
   No AppKit -- safe for use in daemons

Any other Growl vs. CFUserNotification considerations that one should be aware of?

Jerry Krinock


_______________________________________________

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