add ios/osx crossplatform stuff
more crossplatform
more stuff