Re: Detecting a native Cocoa app ?
Re: Detecting a native Cocoa app ?
- Subject: Re: Detecting a native Cocoa app ?
- From: email@hidden
- Date: Thu, 07 Feb 2013 16:14:49 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEVfISi7uXMbIRbQ0c2x aVhqe1lYchlOh6WjAAACeklEQVQ4jVWUQdPiIAyGI9N6lgU8d5mv3BncPbcjehY1nLfdIf//J2xo q35LZ+rIw0uSN1GwvPq7XT6M8kFuC+rOzx8L2PF3L2VY1gqqonsiYlL/KXb3zrYaEUA0Sm0KaerB zqKM8XITXXop+JRF7G2qx7wWfVCfGAVdu14Q9EuygmT+biAcdvW9gWmWr/3g4bvi+HjtS3VI/g3w l3rtS3VqvynwLeDab+c3mKZ3BC3lkN4gvUJ4WcHuE+MF9Cgr+BT4+IRgsEQH0WbC8yYYoD3LoV8V k5lRBe9VON1Y3chhcQWgJDJKXkQTzI0tZWAfng0QvcxHpfwFgo4bWBSMSz4HCV0wnAnAyFd5z6CX mB+n9jaGg+iGCuxXVThbiD2sM2CGUTPQsFtsd7lkroM7OIDi/jJoRsOgHIk35VLGKEcdY8MtSUCI tHl4gtHrOEYYtMngiMoGdGx8bGIc4mgIiLDUCeGa+BK+iEHTmAJImZbR4TJqrhXENh0hZzZxAVwD sCgO1+cej0DSbOAk2BAWXOOY0QBNmWhthu5YcuUQpmCGkikXtY3UIskFUWbOav7T1/J8rEGaa7wk SjgzoLkQd+mp2CiAa3yOSJbqVQvgDvoqoWtCcgwoO5ftg4ffx2u9q0ThyM4wu0Ib0EuQ9uI4zzt7 VZ+nVHUMFwmnacsMuZq1gsDt7uDrlmdH+wookX5WoEWdHyAGAshazmo6MPF1LLsIaN295+D1wPS7 Q6zzZqGBVvQMsput5R4Kuy5o7H7GmSDb3Lo8hcO630G0gOXOWXXYt5iCXyXsr+1KuXPlhf8aHP8k zAaaoaNCM7DHPMs8WH6wVtQCtXAT2X/K7NQKPk4fSgAAAABJRU5ErkJggg==
- Mail-copies-to: never
"William J. Cheeseman" <email@hidden> wrote:
> On Feb 7, 2013, at 3:32 AM, email@hidden wrote:
>
>> I would like to automatically detect when the target application is
>> native cocoa, so that I may switch the plugin off otherwise. How would
>> you do that ?
>
>
> ULI's answer makes sense if you are asking which frameworks are being
> used.
Yes, I understand Uli's point. My main concern is to know how the
menubar is handled because I'm hacking it with Cocoa. I've figured out
that applications not using Cocoa don't like it; unfortunately, it's
not my plugin which crashes, it's the app itself. I may eventually try
to understand what's going on but it looks complicated.
> However, you can determine which runtime environment, Cocoa or Carbon,
> the application is running in, which may be what you're really
> asking.
Yup.
> The Apple Q&A I mentioned earlier is QA1372. Here's the link:
> <https://developer.apple.com/library/mac/#qa/qa1372/_index.html#//apple_ref/doc/uid/DTS10004141>.
Thank you. The anchor part doesn't work but this:
http://developer.apple.com/library/mac/#qa/qa1372/_index.html
works just fine.
-- dvl
_______________________________________________
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