//
//  ContainerViewController.h
//  PhotoShareExtension
//
//  Created by Russell on 27/5/15.
//
//

#import <UIKit/UIKit.h>
#import <NixNetwork/NixUpload.h>
#import <SDWebImage/SDImageCache.h>
@interface ContainerViewController : UIViewController <NixUploadDelegate>
@property (nonatomic, strong) NixAPI *api;
@property (nonatomic, strong) NixUpload *uploadHandler;

@property (nonatomic, strong) NSArray *imageErrors;
@property (nonatomic, strong) NSArray *imageUrls;
@property (nonatomic, strong) NSArray *captions;
@property (nonatomic, strong) NSArray *playlistIds;
@property (nonatomic, strong) NSArray *friendUsernames;

@property (nonatomic, strong) NSArray *playlistData;
@property (nonatomic, strong) NSArray *friendData;
@property (nonatomic, strong) NSArray *selectedReceiverIndexPaths;

- (void)verifyServiceAvailable;
- (void)verifyServiceAvailableWithCompletionHandler:(void (^)(BOOL))completionHandler;
- (void)pingWithCompletionHandler:(void (^)(NSError *))completionHandler;
- (void)send;
- (void)cancel;
@end
