P31SharedTools.h 511 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // P31SharedTools.h
  3. // P31SharedTools
  4. //
  5. // Created by Mike Desaro on 8/10/13.
  6. // Copyright (c) 2013 prime31. All rights reserved.
  7. //
  8. #if TARGET_OS_IPHONE
  9. #import <UIKit/UIKit.h>
  10. @interface P31 : NSObject
  11. + (BOOL)isValidJsonObject:(NSObject*)object;
  12. + (NSString*)jsonStringFromObject:(NSObject*)object;
  13. + (NSObject*)objectFromJsonString:(NSString*)json;
  14. + (const char *)jsonFromError:(NSError*)error;
  15. + (void)unityPause:(BOOL)shouldPause;
  16. + (UIViewController*)unityViewController;
  17. @end
  18. #endif