//
//  CustomLoadingView.h
//  JasonDevelop
//
//  Created by Jason Lee on 10/23/14.
//  Copyright (c) jasondevelop. All rights reserved.
//

#import "JDFacade.h"

@interface CustomLoadingView : UIView

#pragma mark - Properties
@property (weak, nonatomic) NSOperation *operation;
@property (copy) JDFacadeCompletionCallBackHandler completionBlock;


#pragma mark - Methods

+ (CustomLoadingView *)loadingView;

- (void)showInView:(UIView *)container;
- (void)showInView:(UIView *)container whileExecutingBlock:(dispatch_block_t)block;
- (void)showInView:(UIView *)container whileExecutingBlock:(dispatch_block_t)block completionHandler:(JDFacadeCompletionCallBackHandler)completion;
- (void)hide;

@end
