On 2013 Jul 31, at 12:46, Stephane Sudre <dev.iceb...@gmail.com> wrote:

> I will file one because I consider that even if LSUIElement is set, it's 
> still an application (otherwise there would no point in returning an running 
> application instance when launched using NSWorkspace APIs)

Although you are correct (a "running application" is indeed an "application"), 
your bug should ask that the NSWorkspaceDidTerminateApplicationNotification 
*documentation* be clarified, because, as Peter Ammon confirmed, it's way too 
late for Apple to change the behavior.

On 2013 Jul 31, at 12:47, Peter Ammon <pam...@apple.com> wrote:

> The more modern -[NSWorkspace runningApplications] method gives you a list of 
> all applications, including background and UIElement. You can use KVO to 
> observe this property, and be notified when apps are launched or terminated.

I'll try that.  Thanks!



_______________________________________________

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

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

Reply via email to