JXInputRectView.h 838 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // JXInputRectView.h
  3. // shiku_im
  4. //
  5. // Created by 1 on 2019/9/24.
  6. // Copyright © 2019年 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface JXInputRectView : UIView
  11. // 背景颜色
  12. @property (nonatomic, strong) UIColor *backColor;
  13. // 发送/确定按钮事件
  14. @property (nonatomic, assign) SEL onRelease;
  15. // 标题
  16. @property (nonatomic, strong) NSString *title;
  17. // 水印文字
  18. @property (nonatomic, strong) NSString *placeString;
  19. @property (weak, nonatomic) id delegate;
  20. // 获取textView.text
  21. @property (nonatomic, strong, readonly) NSString *text;
  22. @property (nonatomic, assign) BOOL isShow;
  23. @property (nonatomic, assign) BOOL isTitleCenter;
  24. - (instancetype)initWithFrame:(CGRect)frame sureBtnTitle:(NSString *)btnTitle;
  25. // 隐藏
  26. - (void)hide;
  27. @end
  28. NS_ASSUME_NONNULL_END