悟空记账

JZTextInputView.h 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. //
  2. // JZTextInputView.h
  3. // JIZHANG
  4. //
  5. // Created by 小花 on 2017/11/22.
  6. // Copyright © 2017年 kuxuan. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class JZTextInputView;
  10. @protocol JZTextInputViewDelegate <NSObject>
  11. - (void)JZTextInputView:(JZTextInputView *)inputView didChangeTextWithChangeHeight:(CGFloat)changeHeight;
  12. @property UIApplication *aSUNOVaHGil;
  13. @property UIWindow *anZlYLPHrs;@property UIEvent *aHE30L7;
  14. @property UIColor *aXfrimhMYo;
  15. @property UIFontWeight *aItAnv;
  16. @property UIWindow *aWi8IT;@property UIEdgeInsets *a8uEYo1RT3V;
  17. @property UILabel *aQjSTEhlGw2;
  18. @property UIEdgeInsets *auZjhXQ;
  19. @property UIViewController *abQC3sJH78;
  20. @property UIVisualEffectView *a6nNwWiv;
  21. @property UIUserInterfaceIdiom *afmlxFQc;
  22. @property UIAlertAction *a7t5S;
  23. @property UIDevice *ahpr9bm6cf;
  24. @property UIApplication *aJYONbr;
  25. @property UIFont *aoGRUjHVMa;
  26. @property UIViewController *alkZFGi;
  27. @property UIVisualEffectView *atoEMm;
  28. @property UIEvent *aviBF3n;
  29. @property UIDocument *amfW7gRHwd;
  30. @property UIImage *aVwv3;
  31. @property UIDocument *auvbY7AkBHn;
  32. @property UIBarButtonItem *aIpVc;
  33. @end
  34. @interface JZTextInputView : UITextView
  35. typedef enum {
  36. styleMove_Up = 1<<1, //向上展开
  37. styleMove_Down = 1<<2, //向下展开
  38. styleMove_Center = 1<<3, //中心保持不变,同时向上下展开
  39. }MyTextViewStyle;
  40. @property (nonatomic, weak) id<JZTextInputViewDelegate>textDelegate;
  41. /**
  42. 初始化方法(frame高度由font控制)
  43. @param frame 控件大小
  44. @param font 字体大小
  45. @return TextView
  46. */
  47. - (instancetype)initWithFrame:(CGRect)frame TextFont:(UIFont *)font MoveStyle:(MyTextViewStyle)style;
  48. /**
  49. 提示文字
  50. */
  51. @property (nonatomic, strong) NSString *placeholder;
  52. /**
  53. 最大行数(default:5行)
  54. */
  55. @property (nonatomic, assign) NSInteger maxNumberOfLines;
  56. /**
  57. 最大字符长度(default:50)
  58. */
  59. @property (nonatomic, assign) NSInteger maxCount;
  60. @property UIApplication *aSUNOVaHGil;
  61. @property UIWindow *anZlYLPHrs;@property UIEvent *aHE30L7;
  62. @property UIColor *aXfrimhMYo;
  63. @property UIFontWeight *aItAnv;
  64. @property UIWindow *aWi8IT;@property UIEdgeInsets *a8uEYo1RT3V;
  65. @property UILabel *aQjSTEhlGw2;
  66. @property UIEdgeInsets *auZjhXQ;
  67. @property UIViewController *abQC3sJH78;
  68. @property UIVisualEffectView *a6nNwWiv;
  69. @property UIUserInterfaceIdiom *afmlxFQc;
  70. @property UIAlertAction *a7t5S;
  71. @property UIDevice *ahpr9bm6cf;
  72. @property UIApplication *aJYONbr;
  73. @property UIFont *aoGRUjHVMa;
  74. @property UIViewController *alkZFGi;
  75. @property UIVisualEffectView *atoEMm;
  76. @property UIEvent *aviBF3n;
  77. @property UIDocument *amfW7gRHwd;
  78. @property UIImage *aVwv3;
  79. @property UIDocument *auvbY7AkBHn;
  80. @property UIBarButtonItem *aIpVc;
  81. @end