ShoesCarouselView.h 639 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // ShoesCarouselView.h
  3. // Unity-iPhone
  4. //
  5. // Created by duowan123 on 2021/8/31.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import <CoreBluetooth/CoreBluetooth.h>
  9. #import "ShoesPeripheralMolde.h"
  10. @protocol ConnectDeviceDelegate <NSObject>
  11. -(void)setCurrentperipheral:(CBPeripheral*)peripheral;
  12. -(void)connectDevice:(CBPeripheral*)peripheral;
  13. @end
  14. @interface ShoesCarouselView : UIView
  15. @property(nonatomic,assign)id<ConnectDeviceDelegate> delegate;
  16. /**
  17. 配置数据(固定TXCarouselView)
  18. @param array ShoesPeripheralMolde
  19. */
  20. -(void)setArrayData:(NSArray <ShoesPeripheralMolde *>*)array;
  21. -(void)yw_gotoNext:(NSInteger)index;
  22. @end