//
//  MPBasicShareCollectionView.h
//  MPServices
//
//  Created by Oleksii Dykan on 9/7/15.
//  Copyright (c) 2015 MacPhun. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MPSharingObject.h"
#import "MPAbstractButton.h"

typedef void(^MPShareCollectionCallback)(MPSharingObject *sharingObject);

@interface MPBasicShareCollectionView : NSView

@property (nonatomic, copy) MPShareCollectionCallback selectCallback;
@property (nonatomic, strong) IBInspectable NSString *defaultTitle;
@property (nonatomic, strong) NSArray *sharingObjects;

- (void)buttonPressed:(MPAbstractButton *)sender;

@end
