|
//
// shareContentController.h
// ThePaperDemo
//
// Created by scar1900 on 14/12/8.
// Copyright (c) 2014年 scar1900. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "shareUtil.h"
@protocol shareContentDelegate <NSObject>
- (void)didDismissShareContent:(UIView*)contentView;
@end
//分享视图
@interface shareContent : UIView
/**
* 在指定View上弹出分享试图
*
* @param view 分享视图父页面
*/
- (void)presentShareContentInView:(UIView*)view sender:(id)sender;
@property(nonatomic, weak)id<shareContentDelegate> delegate;
- (void)dismissShareContent;
@property(nonatomic, strong)contentObjectBO *contentBO;
@property(nonatomic, assign)shareStyle sharestyle;
@property(nonatomic, strong)UIView *shareContentView;
@property(nonatomic, strong)UIViewController *baseController;
@property(nonatomic, assign)BOOL isSimpleShareView; // 是否把分享写在其他controller中(外链分享)
@end
|