// // QXTabBar.h // FreeTabbar_JoeJin // // Created by J-Mac on 2024/5/24. // Copyright © 2024 JoeJin-QQ:853105953. All rights reserved. // #import #import NS_ASSUME_NONNULL_BEGIN @class QXTabBar,QXTabbarConfig; @protocol QXTabBarDelegate @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 delegate; @property (nonatomic,assign)UInt64 unReadNumber; @end NS_ASSUME_NONNULL_END