// // TFShareView.h // TFReader // // Created by 谢腾飞 on 2020/12/5. // Copyright © 2020 xtfei_2011@126.com. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN /*** 分享平台 ***/ typedef NS_ENUM(NSUInteger, TFSharingPlatform) { TFSharingPlatformQQ = 0, /** 分享到 QQ */ TFSharingPlatformWeChat = 1, /** 分享到 微信 */ TFSharingPlatformQQSpace = 2, /** 分享到 QQ空间 */ TFSharingPlatformFriendCircle = 3, /** 分享到 朋友圈 */ }; /*** 分享类型 ***/ typedef NS_ENUM(NSUInteger, TFShareType) { TFShareTypeBook = 1, /** 分享小说 */ TFShareTypeComic = 2, /** 分享漫画 */ TFShareTypeAudio = 3, /** 分享听书 */ }; typedef void(^ClickHandler)(TFSharingPlatform platform); @interface TFShareView : UIView @property (nonatomic ,copy) ClickHandler clickHandler; /** * 显示\隐藏 */ - (void)show; - (void)hidden; @end NS_ASSUME_NONNULL_END