Il giorno 15/ott/2013, alle ore 18:10, Bill Cheeseman <wjcheese...@gmail.com> ha scritto:
> But the "is it running in Xcode (or Instruments or whatever)?" question is > not unique to Mavericks. What I find interesting is that NSWorkspace's > -frontmostApplication and -menuBarOwningApplication and > NSRunningApplication's currentApplication return different results in > different circumstances. could you solve this problem simply by setting a specific argument/environment variable in your scheme and checking for its existence at runtime? Otherwise, there's also this: https://developer.apple.com/library/mac/qa/qa1361/_index.html -- Simone Tellini http://tellini.info _______________________________________________ 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