I am new to working in Swift, and am currently working on a small messaging application for macOS. The basic application is complete, but I'm trying to add an emoji picker.
I want to add a button that brings up the "Emoji & Symbols" window. This is automatically added to the "Edit" Menu upon starting the application, but I was hoping to have it pop-up via an NSButton press (like in the native Mac Messages app).
Is there a way to call a system function to show the emoji picker, or perhaps a way to simulate the keyboard shortcut(ctrl+cmd+space)? And if so, what steps would I need to take to implement it?