12345678910111213141516171819202122232425 |
- //
- // TextInputView.h
- // TheoryNetwork
- //
- // Created by tederen on 2019/9/27.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- typedef void(^InputBlock)(NSString *);
- @interface TextInputView : UIView
- @property (nonatomic, copy) InputBlock inputBlock;
- - (void)setPlaceText:(NSString *)placeText;
- - (void)startAnimationWithY:(CGFloat)y;
- - (void)startEditing;
- @end
- NS_ASSUME_NONNULL_END
|