A micro class for the OS-X Notification Center in C++.

If you are writing a cross-platform application you are probably not going to use the Native OS-X app development tools, and you might end up with something in C++, for example with Qt. However, you will be unable to access some internal OS-X functionality. One way to deal with this is writing something in Apple’s Objective-C that talks to the internal OS-X SDK. In this case, here is a small proof-of-concept that makes it extremely painless just to push some std::string to the notification center.

Do notice that you should package your app first before seeing if it actually works. Just running the development binary might not work.

Anyway, below is a very minimal and suboptimal example, but you get the point.