UIView+JYPBadgeView.h 644 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // UIView+JYPBadgeView.h
  3. // QuanFangTong
  4. //
  5. // Created by apple on 2018/1/3.
  6. // Copyright © 2018年 xinkai. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface XKBadgeView : UIView
  10. @property (nonatomic,strong)NSString *bValue;
  11. @property (nonatomic,strong)UILabel *valueLab;
  12. @property (nonatomic,strong)UIImageView *imageView;
  13. @end
  14. @class XKBadgeView;
  15. @interface UIView (JYPBadgeView)
  16. /**
  17. *两个方法,小红点的位置不同
  18. */
  19. - (void)setBadgeValue:(NSString *)value;
  20. - (void)setBadgeValue1:(NSString *)value;
  21. /**
  22. *多加描述参数title
  23. */
  24. - (void)setBadgeValue:(NSString *)value title:(NSString *)title;
  25. @end