Utils.h 620 B

12345678910111213141516171819202122232425
  1. //
  2. // Utils.h
  3. // GtSdkDemo
  4. //
  5. // Created by ak on 2020/03/20.
  6. // Copyright © 2019 Gexin Interactive (Beijing) Network Technology Co.,LTD. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface Utils : NSObject
  12. + (void)AlertControllerWithTitle:(NSString *)title andMessage:(NSString *)message;
  13. + (BOOL)PushModel;
  14. + (void)SetPushModel:(BOOL)mode;
  15. + (NSString *)getHexStringForData:(NSData *)data;
  16. + (NSString *)formateTime:(NSDate *)date;
  17. + (void)pushLocalNotification:(NSString *)title userInfo:(NSDictionary *)userInfo;
  18. @end
  19. NS_ASSUME_NONNULL_END