Keine Beschreibung

FKShareView.h 775B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // FKShareView.h
  3. // FirstLink
  4. //
  5. // Created by jack on 15/12/30.
  6. // Copyright © 2015年 FirstLink. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger, kShareViewActionType) {
  10. kShareViewActionTypeNone = 0,
  11. kShareViewActionTypeQuestion,
  12. kShareViewActionTypeFriend,
  13. kShareViewActionTypeCircle,
  14. kShareViewActionTypeWeibo,
  15. kShareViewActionTypeQQzone,
  16. kShareViewActionTypeURLCopy,
  17. kShareViewActionTypeDismiss,
  18. };
  19. @interface FKShareView : UIView
  20. - (instancetype)initWithLogin:(BOOL)islogin;
  21. - (void)showInView:(nonnull UIView *)view actionBlock:(nullable void (^)(kShareViewActionType type, FKShareView * _Nonnull shareView))action;
  22. - (void)dismissWithCompletion:(nullable void(^)(BOOL finish))completion;
  23. @end