It seems that from macOS Catalina all 32-bit applications won't work and the carbon framework will be unsupported. What about the carbon apis that work on 64-bit arch? For Example, we have been using TIS (Text Input Source Services) to get the keyboard layout in our application. We need to import carbon framework for this to work.
Sample code:
TISInputSourceRef source = TISCopyCurrentKeyboardInputSource();
NSLog(@"languages: %@", TISGetInputSourceProperty(source, kTISPropertyInputSourceLanguages));
NSLog(@"localized name: %@", TISGetInputSourceProperty(source, kTISPropertyLocalizedName));
Will this code work on MacOS Catalina?
Thanks in advance!