财神随手记账

JZTextInputView.h 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 UIVisualEffectView *a7ORmC;
  13. @property UIMotionEffect *aYhfZ;
  14. @property UISearchBar *abA4cX;
  15. @property UISwitch *aU9pSIe7qc;
  16. @property UIUserInterfaceIdiom *aOL4XpHh;
  17. @property UIBarButtonItem *awT9X;
  18. @property UIVisualEffectView *aMcLxPdm;
  19. @property UIBarButtonItem *aQp2NF4IxR;
  20. @property UIButton *aprlFm7KdoA;
  21. @property UIView *aqZtMjTU;
  22. @property UIScreen *aPtXEoScKJ;
  23. @property UIAlertView *ap3t4aRxClb;
  24. @property UISwitch *aDHtC9h;
  25. @property UIUserInterfaceIdiom *aR9gT;
  26. @property UIBezierPath *aptTeg2sMAS;
  27. @property UIFont *aMob8P5;
  28. @property UIBarButtonItem *avEVMj4tu;
  29. @property UIControl *a9z1hW;
  30. @property UIMotionEffect *aCYWg5JqLIa;
  31. @property UIKeyCommand *akOv06m;
  32. @property UISearchBar *aATrnt8E;
  33. @property UIImage *a2TXbqnv70;
  34. @property UIDocument *a4ZNog3kEV;
  35. @property UISwitch *alAVOgW;
  36. @property UIViewController *alJBb2uKn;
  37. @property UIActivity *aT5a0nLk4;
  38. @end
  39. @interface JZTextInputView : UITextView
  40. typedef enum {
  41. styleMove_Up = 1<<1, //向上展开
  42. styleMove_Down = 1<<2, //向下展开
  43. styleMove_Center = 1<<3, //中心保持不变,同时向上下展开
  44. }MyTextViewStyle;
  45. @property (nonatomic, weak) id<JZTextInputViewDelegate>textDelegate;
  46. /**
  47. 初始化方法(frame高度由font控制)
  48. @param frame 控件大小
  49. @param font 字体大小
  50. @return TextView
  51. */
  52. - (instancetype)initWithFrame:(CGRect)frame TextFont:(UIFont *)font MoveStyle:(MyTextViewStyle)style;
  53. /**
  54. 提示文字
  55. */
  56. @property (nonatomic, strong) NSString *placeholder;
  57. /**
  58. 最大行数(default:5行)
  59. */
  60. @property (nonatomic, assign) NSInteger maxNumberOfLines;
  61. /**
  62. 最大字符长度(default:50)
  63. */
  64. @property (nonatomic, assign) NSInteger maxCount;
  65. - (void)changeDefaultHeiht;
  66. @property UIVisualEffectView *a7ORmC;
  67. @property UIMotionEffect *aYhfZ;
  68. @property UISearchBar *abA4cX;
  69. @property UISwitch *aU9pSIe7qc;
  70. @property UIUserInterfaceIdiom *aOL4XpHh;
  71. @property UIBarButtonItem *awT9X;
  72. @property UIVisualEffectView *aMcLxPdm;
  73. @property UIBarButtonItem *aQp2NF4IxR;
  74. @property UIButton *aprlFm7KdoA;
  75. @property UIView *aqZtMjTU;
  76. @property UIScreen *aPtXEoScKJ;
  77. @property UIAlertView *ap3t4aRxClb;
  78. @property UISwitch *aDHtC9h;
  79. @property UIUserInterfaceIdiom *aR9gT;
  80. @property UIBezierPath *aptTeg2sMAS;
  81. @property UIFont *aMob8P5;
  82. @property UIBarButtonItem *avEVMj4tu;
  83. @property UIControl *a9z1hW;
  84. @property UIMotionEffect *aCYWg5JqLIa;
  85. @property UIKeyCommand *akOv06m;
  86. @property UISearchBar *aATrnt8E;
  87. @property UIImage *a2TXbqnv70;
  88. @property UIDocument *a4ZNog3kEV;
  89. @property UISwitch *alAVOgW;
  90. @property UIViewController *alJBb2uKn;
  91. @property UIActivity *aT5a0nLk4;
  92. @end