On 31 Jul 2014, at 20:46, Sean McBride <s...@rogue-research.com> 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                 s...@rogue-research.com
> Rogue Research                        www.rogue-research.com 
> Mac Software Developer              Montréal, Québec, Canada
> 
> 
> 
> _______________________________________________
> 
> 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/jonathan%40mugginsoft.com
> 
> This email sent to jonat...@mugginsoft.com


_______________________________________________

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