//
//  GMDiaryShareView.h
//  Gengmei
//
//  Created by yefengming on 2018/12/19.
//  Copyright © 2018年 更美互动信息科技有限公司. All rights reserved.
//

#import "GMShareTopView.h"
#import "GMShareSDK.h"
#import "WMShareObject.h"

@class GMShareView;
@protocol GMDiaryShareViewDelegate <NSObject>
@optional
/**   @brief  定制分享定制内容*/
- (NSMutableDictionary *)fetchSharePublishContent:(GMSharePlatform)shareType;
/** 分享成功 */
- (void)shareResponseSuccess;
/**   @brief  分享日记的shareObject*/
- (void)shareObject:(WMShareObject *)object;
@end

@interface GMDiaryShareView : GMView
/**
 连续签到，补签任务
 */
@property (nonatomic, strong) GMShareTopView *topView;

@property (nonatomic, weak) id<GMDiaryShareViewDelegate> delegate;

/**   @brief  显示分享界面*/
- (void)showWithShareArr:(NSMutableArray *)shareArr;
/**   @brief  隐藏分享界面。最后会remove super view*/
- (void)hideShareView;
@end
