增加换肤功能
This commit is contained in:
39
QXLive/Tabbar/TabbarCustomView/QXTabBar.h
Normal file
39
QXLive/Tabbar/TabbarCustomView/QXTabBar.h
Normal file
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// QXTabBar.h
|
||||
// FreeTabbar_JoeJin
|
||||
//
|
||||
// Created by J-Mac on 2024/5/24.
|
||||
// Copyright © 2024 JoeJin-QQ:853105953. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Masonry/Masonry.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class QXTabBar,QXTabbarConfig;
|
||||
|
||||
@protocol QXTabBarDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
- (void)QXTabBar:(QXTabBar *)tabBar didSelectedButtonFrom:(NSInteger)from to:(NSInteger)to;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
@interface QXTabBar : UIView
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame centerCustom:(BOOL)centerCustom config:(QXTabbarConfig *)config;
|
||||
|
||||
|
||||
- (void)addTabBarButtonNorImageUrl:(NSString *)norImageUrl
|
||||
selImageUrl:(NSString *)selImageUrl
|
||||
title:(NSString *)title;
|
||||
|
||||
|
||||
@property (nonatomic, weak) id<QXTabBarDelegate> delegate;
|
||||
@property (nonatomic,assign)UInt64 unReadNumber;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user