"William J. Cheeseman" <[email protected]> wrote: > On Feb 7, 2013, at 3:32 AM, [email protected] 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 protected]) 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 [email protected]
