GHThemeManager.h 498 B

1234567891011121314151617181920212223
  1. //
  2. // GHThemeManager.h
  3. // GameHelper
  4. //
  5. // Created by 青秀斌 on 16/12/29.
  6. // Copyright © 2016年 kylincc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef NS_ENUM(NSInteger, ThemeType) {
  10. ThemeType_Defalt,
  11. ThemeType_Night,
  12. };
  13. #define GHThemeChangeNotification @"GHThemeChangeNotification"
  14. @interface GHThemeManager : NSObject<UIApplicationDelegate>
  15. @property (nonatomic, assign, readonly) ThemeType themeType;
  16. - (void)switchToTheme:(ThemeType)themeType;
  17. @end