UIView(QMUITheme_Private)

@interface UIView (QMUITheme_Private)

- (void)_qmui_themeDidChangeByManager:(nullable QMUIThemeManager *)manager identifier:(nullable __kindof NSObject<NSCopying> *)identifier theme:(nullable __kindof NSObject *)theme shouldEnumeratorSubviews:(BOOL)shouldEnumeratorSubviews;

@property(nonatomic, strong) UIColor *qmuiTheme_backgroundColor;

/// 记录当前 view 总共有哪些 property 需要在 theme 变化时重新设置
@property(nonatomic, strong) NSMutableDictionary<NSString *, NSString *> *qmuiTheme_themeColorProperties;

- (BOOL)_qmui_visible;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (void)_qmui_themeDidChangeByManager:(nullable QMUIThemeManager *)manager identifier:(nullable __kindof NSObject<NSCopying> *)identifier theme:(nullable __kindof NSObject *)theme shouldEnumeratorSubviews:(BOOL)shouldEnumeratorSubviews;

    Swift

    func _qmui_themeDidChange(by manager: QMUIThemeManager?, identifier: (NSCopying & NSObjectProtocol)?, theme: NSObject?, shouldEnumeratorSubviews: Bool)
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong) UIColor *qmuiTheme_backgroundColor

    Swift

    var qmuiTheme_backgroundColor: UIColor { get set }
  • 记录当前 view 总共有哪些 property 需要在 theme 变化时重新设置

    Declaration

    Objective-C

    @property (nonatomic, strong) NSMutableDictionary<NSString *, NSString *> *_Nonnull qmuiTheme_themeColorProperties;

    Swift

    var qmuiTheme_themeColorProperties: NSMutableDictionary { get set }
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)_qmui_visible;

    Swift

    func _qmui_visible() -> Bool