SPSBShareViewController.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // SPSBShareViewController.h
  3. // 我的社保
  4. //
  5. // Created by jiaxian_he on 2021/5/31.
  6. //
  7. #import "SPSBPopupViewController.h"
  8. #import <ShareSDK/ShareSDK.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. UIKIT_EXTERN NSString *const SPSBShareCircleOfFriends;
  11. UIKIT_EXTERN NSString *const SPSBShareWechat;
  12. UIKIT_EXTERN NSString *const SPSBShareQQ;
  13. UIKIT_EXTERN NSString *const SPSBShareQzone;
  14. UIKIT_EXTERN NSString *const SPSBShareMiniProgram;
  15. UIKIT_EXTERN NSString *const SPSBShareSinaWeibo;
  16. @interface SPSBShareModel : NSObject
  17. @property (nonatomic, readonly, strong) NSArray *spsb_typeArray;
  18. @property (nonatomic, readonly, strong) NSString *spsb_content;
  19. @property (nonatomic, readonly, strong) NSString *spsb_title;
  20. @property (nonatomic, readonly, strong) NSString *spsb_url;
  21. @property (nonatomic, readonly, strong, nullable) id spsb_image;
  22. @property (nonatomic, readonly, strong, nullable) NSString *spsb_eventId;
  23. @property (nonatomic, readonly, assign) SSDKContentType spsb_mediaType;
  24. @property (nonatomic, readonly, strong, nullable) void (^spsb_finishAction)(void);
  25. - (instancetype)initWithTypeArray:(NSArray *)typeArray content:(NSString *)content image:(nullable id)image title:(NSString *)title url:(NSString *)url mediaType:(SSDKContentType)mediaType eventId:(nullable NSString *)eventId finish:(void(^_Nullable)(void))finish;
  26. @end
  27. @interface SPSBShareViewController : SPSBPopupViewController
  28. @property (nonatomic, strong) SPSBShareModel *spsb_data;
  29. @end
  30. NS_ASSUME_NONNULL_END