xxxx


@implementation MyShareSDKCenterView

@synthesize loginType = _loginType ;  // 0 单平台  1 新浪  2 facebook
static MyShareSDKCenterView * _sharedInstance = nil;

+(MyShareSDKCenterView*)sharedInstance
{
    @synchronized([MyShareSDKCenterView class])
    {
        if (!_sharedInstance)
            _sharedInstance = [[self alloc] init];
        
        return _sharedInstance;
    }
    return nil;
}



- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

 

@interface MyShareSDKCenterView : UIView
{
    UIView *myUIView;
}
+(MyShareSDKCenterView*)sharedInstance ;
-(void)  LoadUeserInfo;
-(bool)  isLogin ;

@property ( assign )  NSString * loginType ;
@end

posted @ 2014-03-24 17:27  尚菜  阅读(255)  评论(0编辑  收藏  举报