https://forums.developer.apple.com/thread/115932 like this post I also need to use carbon in my mac app but, what I know carbon api only support 32 bit OS & from Mac OS 10.15 onwards it won't support 32 bit apps. So I won't be able to use Carbon API.
Below is my current code. What will be replacement or migration of this Carbon API, what is the correct alternative?
static const EventTypeSpec menuEnableEvents[] =
{
{ kEventClassMenu, kEventMenuEnableItems }
};
static const EventTypeSpec menuEvents[] =
{
{ kEventClassCommand, kEventCommandProcess }
};