From 3e8437ae559487362fae3525beb79c534c213a51 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 12 Jul 2018 13:44:34 +0800 Subject: [PATCH] bug修复和功能优化 --- screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/MessageCellBubbleView/EaseBubbleView.h | 73 ++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/MessageCellBubbleView/EaseBubbleView.h b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/MessageCellBubbleView/EaseBubbleView.h new file mode 100755 index 0000000..7a3074e --- /dev/null +++ b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Views/conversation/MessageCellBubbleView/EaseBubbleView.h @@ -0,0 +1,73 @@ +/************************************************************ + * * 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> + +extern CGFloat const EaseMessageCellPadding; + +extern NSString *const EaseMessageCellIdentifierSendText; +extern NSString *const EaseMessageCellIdentifierSendLocation; +extern NSString *const EaseMessageCellIdentifierSendVoice; +extern NSString *const EaseMessageCellIdentifierSendVideo; +extern NSString *const EaseMessageCellIdentifierSendImage; +extern NSString *const EaseMessageCellIdentifierSendFile; + +extern NSString *const EaseMessageCellIdentifierRecvText; +extern NSString *const EaseMessageCellIdentifierRecvLocation; +extern NSString *const EaseMessageCellIdentifierRecvVoice; +extern NSString *const EaseMessageCellIdentifierRecvVideo; +extern NSString *const EaseMessageCellIdentifierRecvImage; +extern NSString *const EaseMessageCellIdentifierRecvFile; + +@interface EaseBubbleView : UIView +{ + UIEdgeInsets _margin; + CGFloat _fileIconSize; +} + +@property (nonatomic) BOOL isSender; + +@property (nonatomic, readonly) UIEdgeInsets margin; + +@property (strong, nonatomic) NSMutableArray *marginConstraints; + +@property (strong, nonatomic) UIImageView *backgroundImageView; + +//text views +@property (strong, nonatomic) UILabel *textLabel; + +//image views +@property (strong, nonatomic) UIImageView *imageView; + +//location views +@property (strong, nonatomic) UIImageView *locationImageView; +@property (strong, nonatomic) UILabel *locationLabel; + +//voice views +@property (strong, nonatomic) UIImageView *voiceImageView; +@property (strong, nonatomic) UILabel *voiceDurationLabel; +@property (strong, nonatomic) UIImageView *isReadView; + +//video views +@property (strong, nonatomic) UIImageView *videoImageView; +@property (strong, nonatomic) UIImageView *videoTagView; + +//file views +@property (strong, nonatomic) UIImageView *fileIconView; +@property (strong, nonatomic) UILabel *fileNameLabel; +@property (strong, nonatomic) UILabel *fileSizeLabel; + +- (instancetype)initWithMargin:(UIEdgeInsets)margin + isSender:(BOOL)isSender; + +@end -- Gitblit v1.8.0