• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification


  • Subject: Re: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 31 Jul 2013 16:31:32 -0700

On 2013 Jul 31, at 12:46, Stephane Sudre <email@hidden> 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 <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden


References: 
 >[BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification (From: Stephane Sudre <email@hidden>)
 >Re: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification (From: Jerry Krinock <email@hidden>)
 >Re: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: Initializing a NSMutableString an odd way
  • Previous by thread: Re: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification
  • Next by thread: Re: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification
  • Index(es):
    • Date
    • Thread