Programming languages: Swift, Objective-C
We need to develop a mac application that, when a button is pressed, will show a list of applications that are using the input device at the current moment.
The application must contain one window with the following UI elements:
the button “Find application using the input device”;
a list containing the name of process (pid if there’s such an ability);
an option to select the necessary input device (if there’s such an ability).
It’s allowed to get the list with AppleScripts.
It’s desirable to use SandBox in the development of the application.