CustomTitleView.h 526 B

12345678910111213141516171819202122232425
  1. //
  2. // CustomTitleView.h
  3. // CGXHotBrandView-OC
  4. //
  5. // Created by CGX on 2018/05/01.
  6. // Copyright © 2020 CGX. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface CustomTitleView : UIView
  11. @property (nonatomic, assign,readonly) NSInteger selectedIndex;
  12. /** 加载图片 */
  13. @property (nonatomic, copy) void(^titieSelectBlock)(NSInteger integer);
  14. - (void)updateDataTitieArray:(NSMutableArray<NSString *> *)titleArray;
  15. - (void)selectItemAtIndex:(NSInteger)index;
  16. @end
  17. NS_ASSUME_NONNULL_END