CustomPlayerView.h 585 B

12345678910111213141516171819202122
  1. //
  2. // CustomPlayerView.h
  3. // BuguLive
  4. //
  5. // Created by voidcat on 2024/5/23.
  6. // Copyright © 2024 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface CustomPlayerView : UIView
  11. @property (nonatomic, strong) UILabel *songTitleLabel;
  12. @property (nonatomic, strong) UISlider *songSlider;
  13. @property (nonatomic, strong) UILabel *songTimeLabel;
  14. @property (nonatomic, strong) UIButton *playPauseButton;
  15. @property(nonatomic, strong) musiceModel* chosemusic;
  16. @property(nonatomic, copy) void (^play)(musiceModel *chosemusic);
  17. @end
  18. NS_ASSUME_NONNULL_END