C++ cross-platform library which duplicates possibility of a Cocoa framework