#include "PlatformUtils.h" #import std::string PlatformUtils::documentsPath() { return std::string([[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject] UTF8String]); }