You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
585 B
30 lines
585 B
// |
|
// TFTextView.h |
|
// TFReader |
|
// |
|
// Created by 谢腾飞 on 2020/12/23. |
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved. |
|
// |
|
|
|
#import <UIKit/UIKit.h> |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
@protocol TFTextViewDelegate <NSObject> |
|
@optional |
|
|
|
- (void)textViewDidChange:(NSString *)text; |
|
|
|
@end |
|
|
|
@interface TFTextView : UIView |
|
|
|
@property (nonatomic ,assign) NSUInteger maxWordCount; |
|
@property (nonatomic ,copy ,readonly) NSString *text; |
|
@property (nonatomic ,weak) id<TFTextViewDelegate> delegate; |
|
|
|
- (void)resetPlaceholderText:(NSString *)placeholderText; |
|
|
|
@end |
|
|
|
NS_ASSUME_NONNULL_END
|
|
|