JSBUtil.h 546 B

1234567891011121314151617
  1. #import <Foundation/Foundation.h>
  2. enum{
  3. DSB_API_HASNATIVEMETHOD,
  4. DSB_API_CLOSEPAGE,
  5. DSB_API_RETURNVALUE,
  6. DSB_API_DSINIT,
  7. DSB_API_DISABLESAFETYALERTBOX
  8. };
  9. @interface JSBUtil : NSObject
  10. + (NSString * _Nullable)objToJsonString:(id _Nonnull)dict;
  11. + (id _Nullable)jsonStringToObject:(NSString * _Nonnull)jsonString;
  12. +(NSString *_Nullable)methodByNameArg:(NSInteger)argNum
  13. selName:( NSString * _Nullable)selName class:(Class _Nonnull )clazz;
  14. + (NSArray *_Nonnull)parseNamespace: (NSString *_Nonnull) method;
  15. @end