utility library for OSX & iOS