Re: Detecting second launch of the "LSUIElement=1"-application

2015-09-11 Thread Nick
Thanks Jens, it does work. I should've looked at the delegate reference before asking. 2015-09-11 23:54 GMT+03:00 Jens Alfke : > > On Sep 11, 2015, at 1:12 PM, Nick wrote: > > Can I somehow detect that my application has been launched again, when it > is already running (it has an icon in NSStat

Re: Detecting second launch of the "LSUIElement=1"-application

2015-09-11 Thread Jens Alfke
> On Sep 11, 2015, at 1:12 PM, Nick wrote: > > Can I somehow detect that my application has been launched again, when it > is already running (it has an icon in NSStatusBar, but no icon in Dock)? The usual way is to implement the NSApplication delegate method -applicationShouldHandleReopen:has

Detecting second launch of the "LSUIElement=1"-application

2015-09-11 Thread Nick
Hello Can I somehow detect that my application has been launched again, when it is already running (it has an icon in NSStatusBar, but no icon in Dock)? I need to display a specific window when this happens. Thank you Nick ___ Cocoa-dev mailing list (C