• 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: Alternative to NSRunningApplication launchDate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative to NSRunningApplication launchDate?


  • Subject: Re: Alternative to NSRunningApplication launchDate?
  • From: Jonathan Mitchell <email@hidden>
  • Date: Thu, 31 Jul 2014 20:58:53 +0100

On 31 Jul 2014, at 20:46, Sean McBride <email@hidden> wrote:

> Hi all,
>
> The docs for NSRunningApplication launchDate say "only available for applications that were launched by LaunchServices."
>
> And indeed if the app was launched by Xcode (for debugging) launchDate returns nil.
>
> Anyone know another way of finding an app's launch date?  Some UNIX layer API?
sysctl?

You can extract what you need from this:

http://stackoverflow.com/questions/17483407/is-there-any-way-to-get-the-applications-run-time-in-cocoa-for-os-x

Jonathan

>
> Thanks,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 email@hidden
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>
> _______________________________________________
>
> 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


_______________________________________________

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: 
 >Alternative to NSRunningApplication launchDate? (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: 10.5 Load Fonts for use in webview
  • Next by Date: Re: 10.5 Load Fonts for use in webview
  • Previous by thread: Alternative to NSRunningApplication launchDate?
  • Next by thread: Trouble with services
  • Index(es):
    • Date
    • Thread