// // FKShareView.h // FirstLink // // Created by jack on 15/12/30. // Copyright © 2015年 FirstLink. All rights reserved. // #import typedef NS_ENUM(NSInteger, kShareViewActionType) { kShareViewActionTypeNone = 0, kShareViewActionTypeQuestion, kShareViewActionTypeFriend, kShareViewActionTypeCircle, kShareViewActionTypeWeibo, kShareViewActionTypeQQzone, kShareViewActionTypeURLCopy, kShareViewActionTypeDismiss, }; @interface FKShareView : UIView - (instancetype)initWithLogin:(BOOL)islogin; - (void)showInView:(nonnull UIView *)view actionBlock:(nullable void (^)(kShareViewActionType type, FKShareView * _Nonnull shareView))action; - (void)dismissWithCompletion:(nullable void(^)(BOOL finish))completion; @end