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.
37 lines
1.1 KiB
37 lines
1.1 KiB
![]()
2 years ago
|
//
|
||
|
// XHAlbumRichTextView.h
|
||
|
// MessageDisplayExample
|
||
|
//
|
||
|
// Created by HUAJIE-1 on 14-5-19.
|
||
|
// Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群(142557668). All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "SETextView.h"
|
||
|
//#import <MessageDisplayKit/SETextView.h>
|
||
|
|
||
|
|
||
|
#import "XHAlbum.h"
|
||
|
|
||
|
typedef void(^CommentButtonDidSelectedBlock)(UIButton *sender);
|
||
|
typedef void(^LikeButtonDidSelectedBlock)(UIButton *sender);
|
||
|
|
||
|
|
||
|
@interface XHAlbumRichTextView : UIView
|
||
|
|
||
|
@property (nonatomic, strong) UIFont *font;
|
||
|
@property (nonatomic, strong) NSColor *textColor;
|
||
|
@property (nonatomic, assign) NSTextAlignment textAlignment;
|
||
|
@property (nonatomic, assign) CGFloat lineSpacing;
|
||
|
|
||
|
@property (nonatomic, strong) SETextView *richTextView;
|
||
|
|
||
|
@property (nonatomic, strong) XHAlbum *displayAlbum;
|
||
|
|
||
|
@property (nonatomic, copy) CommentButtonDidSelectedBlock commentButtonDidSelectedCompletion;
|
||
|
@property (nonatomic, copy) LikeButtonDidSelectedBlock likeButtonDidSelectedCompletion;
|
||
|
|
||
|
+ (CGFloat)calculateRichTextHeightWithAlbum:(XHAlbum *)currentAlbum;
|
||
|
|
||
|
@end
|