cdts/xdts-ios 3/TreeHole/CYHResetCode/CYH/QMUIKit/UIKitExtensions/QMUIBarProtocol/QMUIBarProtocol.h

62 lines
3.6 KiB
C
Raw Normal View History

2023-07-27 09:20:00 +08:00
/**
* Tencent is pleased to support the open source community by making QMUI_iOS available.
* Copyright (C) 2016-2021 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/MIT
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
//
// QMUIBarProtocol.h
// QMUIKit
//
// Created by molice on 2022/5/18.
// Copyright © 2022 QMUI Team. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
UINavigationBarUITabBar UIView UINavigationBarUITabBar
*/
@protocol QMUIBarProtocol <NSObject>
/**
bar view
iOS 10 _UIBarBackground
iOS 9 UINavigationBar _UINavigationBarBackground UITabBar _UITabBarBackgroundView
*/
@property(nullable, nonatomic, strong, readonly) UIView *qmui_backgroundView;
/**
qmui_backgroundView subview线 shadowImage view qmui_backgroundView shadowImage [UIImage new] view 0
*/
@property(nullable, nonatomic, strong, readonly) UIImageView *qmui_shadowImageView;
/**
bar view UIBar _UIBarBackground UIVisualEffectView bar
iOS 15 bar @c qmui_effectViews view
*/
@property(nullable, nonatomic, strong, readonly) UIVisualEffectView *qmui_effectView;
/**
iOS 15 bar effectView
*/
@property(nullable, nonatomic, strong, readonly) NSArray<UIVisualEffectView *> *qmui_effectViews;
/**
tab iOS 13 UINavigation(Tab)BarAppearance.backgroundEffects nil nil nil bar
@note backgroundImagebarTintColor
*/
@property(nullable, nonatomic, strong) UIBlurEffect *qmui_effect;
/**
tabBar CALayer(QMUI).qmui_foregroundColor UIBlurEffectStyle 便 barTintColor
*/
@property(nullable, nonatomic, strong) UIColor *qmui_effectForegroundColor;
@end
NS_ASSUME_NONNULL_END