123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- //
- // JZTextInputView.h
- // JIZHANG
- //
- // Created by 小花 on 2017/11/22.
- // Copyright © 2017年 kuxuan. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @class JZTextInputView;
- @protocol JZTextInputViewDelegate <NSObject>
- - (void)JZTextInputView:(JZTextInputView *)inputView didChangeTextWithChangeHeight:(CGFloat)changeHeight;
- @property UIVisualEffectView *a7ORmC;
- @property UIMotionEffect *aYhfZ;
- @property UISearchBar *abA4cX;
- @property UISwitch *aU9pSIe7qc;
- @property UIUserInterfaceIdiom *aOL4XpHh;
- @property UIBarButtonItem *awT9X;
- @property UIVisualEffectView *aMcLxPdm;
- @property UIBarButtonItem *aQp2NF4IxR;
- @property UIButton *aprlFm7KdoA;
- @property UIView *aqZtMjTU;
- @property UIScreen *aPtXEoScKJ;
- @property UIAlertView *ap3t4aRxClb;
- @property UISwitch *aDHtC9h;
- @property UIUserInterfaceIdiom *aR9gT;
- @property UIBezierPath *aptTeg2sMAS;
- @property UIFont *aMob8P5;
- @property UIBarButtonItem *avEVMj4tu;
- @property UIControl *a9z1hW;
- @property UIMotionEffect *aCYWg5JqLIa;
- @property UIKeyCommand *akOv06m;
- @property UISearchBar *aATrnt8E;
- @property UIImage *a2TXbqnv70;
- @property UIDocument *a4ZNog3kEV;
- @property UISwitch *alAVOgW;
- @property UIViewController *alJBb2uKn;
- @property UIActivity *aT5a0nLk4;
- @end
- @interface JZTextInputView : UITextView
- typedef enum {
-
- styleMove_Up = 1<<1, //向上展开
- styleMove_Down = 1<<2, //向下展开
- styleMove_Center = 1<<3, //中心保持不变,同时向上下展开
-
- }MyTextViewStyle;
- @property (nonatomic, weak) id<JZTextInputViewDelegate>textDelegate;
- /**
- 初始化方法(frame高度由font控制)
-
- @param frame 控件大小
- @param font 字体大小
- @return TextView
- */
- - (instancetype)initWithFrame:(CGRect)frame TextFont:(UIFont *)font MoveStyle:(MyTextViewStyle)style;
- /**
- 提示文字
- */
- @property (nonatomic, strong) NSString *placeholder;
- /**
- 最大行数(default:5行)
- */
- @property (nonatomic, assign) NSInteger maxNumberOfLines;
- /**
- 最大字符长度(default:50)
- */
- @property (nonatomic, assign) NSInteger maxCount;
- - (void)changeDefaultHeiht;
- @property UIVisualEffectView *a7ORmC;
- @property UIMotionEffect *aYhfZ;
- @property UISearchBar *abA4cX;
- @property UISwitch *aU9pSIe7qc;
- @property UIUserInterfaceIdiom *aOL4XpHh;
- @property UIBarButtonItem *awT9X;
- @property UIVisualEffectView *aMcLxPdm;
- @property UIBarButtonItem *aQp2NF4IxR;
- @property UIButton *aprlFm7KdoA;
- @property UIView *aqZtMjTU;
- @property UIScreen *aPtXEoScKJ;
- @property UIAlertView *ap3t4aRxClb;
- @property UISwitch *aDHtC9h;
- @property UIUserInterfaceIdiom *aR9gT;
- @property UIBezierPath *aptTeg2sMAS;
- @property UIFont *aMob8P5;
- @property UIBarButtonItem *avEVMj4tu;
- @property UIControl *a9z1hW;
- @property UIMotionEffect *aCYWg5JqLIa;
- @property UIKeyCommand *akOv06m;
- @property UISearchBar *aATrnt8E;
- @property UIImage *a2TXbqnv70;
- @property UIDocument *a4ZNog3kEV;
- @property UISwitch *alAVOgW;
- @property UIViewController *alJBb2uKn;
- @property UIActivity *aT5a0nLk4;
- @end
|