// // TextInputView.h // TheoryNetwork // // Created by tederen on 2019/9/27. // Copyright © 2019 tederen. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN typedef void(^InputBlock)(NSString *); typedef void(^StarBlock)(NSInteger); @interface TextInputView : UIView @property (nonatomic, assign) BOOL star; @property (nonatomic, copy) InputBlock inputBlock; @property (nonatomic, copy) StarBlock StarBlock; - (void)setPlaceText:(NSString *)placeText; - (void)setViewText:(NSString *)text; - (void)startAnimationWithY:(CGFloat)y; - (void)startEditing; @end NS_ASSUME_NONNULL_END