From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/toolbar/EaseTextView.h | 61 ++++++++++++++++++++++++++++++ 1 files changed, 61 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/toolbar/EaseTextView.h b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/toolbar/EaseTextView.h new file mode 100755 index 0000000..3c79a67 --- /dev/null +++ b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/toolbar/EaseTextView.h @@ -0,0 +1,61 @@ +/************************************************************ + * * Hyphenate CONFIDENTIAL + * __________________ + * Copyright (C) 2016 Hyphenate Inc. All rights reserved. + * + * NOTICE: All information contained herein is, and remains + * the property of Hyphenate Inc. + * Dissemination of this information or reproduction of this material + * is strictly forbidden unless prior written permission is obtained + * from Hyphenate Inc. + */ + +#import <UIKit/UIKit.h> + +typedef NS_ENUM(NSUInteger, DXTextViewInputViewType) { + DXTextViewNormalInputType = 0, + DXTextViewTextInputType, + DXTextViewFaceInputType, + DXTextViewShareMenuInputType, +}; + +@interface EaseTextView : UITextView + +/* + * ��������������������������� + */ +@property (nonatomic, copy) NSString *placeHolder; + +/* + * ��������������������� + */ +@property (nonatomic, strong) UIColor *placeHolderTextColor; + + +/* + @method + @brief ������������������������������������ + @discussion + @result ������������ + */ +- (NSUInteger)numberOfLinesOfText; + + +/* + @method + @brief ��������������������� + @discussion + @result ������iPhone������iPad������������������������������ + */ ++ (NSUInteger)maxCharactersPerLine; + +/* + @method + @brief ��������������������������������������������������� + @discussion + @param text ������������ + @result ������������������ + */ ++ (NSUInteger)numberOfLinesForMessage:(NSString *)text; + +@end -- Gitblit v1.8.0