//
//  ALCreateTopicHeaderView.h
//  GMAlpha
//
//  Created by Q14 on 2018/11/7.
//  Copyright © 2018年 Gengmei. All rights reserved.
//

@interface ALCreateDiaryImageCollectionCell : GMCollectionViewCell

@end

@class GMCreateDiaryCell;
@class ALCreateDiaryObject;
@protocol ALCreateTopicHeaderDelegate<NSObject>

// 添加图片
- (void)addPicturesOrVideo;
// 编辑图片
- (void)editPictureAtCollectionIndex:(NSInteger)collectionIndex;
// 删除图片
- (void)deletePictureAtCollectionIndex:(NSInteger)collectionIndex;

@end

@interface ALCreateTopicHeaderView : GMView
@property (nonatomic, strong) UITextView *titleTextView;
@property(nonatomic, assign) id<ALCreateTopicHeaderDelegate> delegate;
@property(nonatomic, strong) ALCreateDiaryObject *object;
@property(nonatomic, copy) NSString *placeholder;
@property (nonatomic, strong) GMCollectionView *picturesView;
/** 隐藏数据 */
@property(nonatomic, assign) BOOL isHideLabel;

@end
