1234567891011121314151617181920212223242526272829303132 |
- //
- // UIViewController+GHTheme.m
- // GameHelper
- //
- // Created by Jayla on 16/12/29.
- // Copyright © 2016年 kylincc. All rights reserved.
- //
- #import "UIViewController+GHTheme.h"
- #import "GHThemeManager.h"
- @implementation UIViewController (GHTheme)
- - (void)observeThemeChange {
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(themeChangeAction)
- name:GHThemeChangeNotification
- object:nil];
- }
- - (void)unObserveThemeChange {
- [[NSNotificationCenter defaultCenter] removeObserver:self
- name:GHThemeChangeNotification
- object:nil];
- }
- - (void)themeChangeAction {
-
- }
- @end
|