//
//  IFLYDialogView.h
//  YouBaozhang
//
//  Created by Chenly on 2017/4/17.
//  Copyright © 2017年 Yonyou. All rights reserved.
//

#import <UIKit/UIKit.h>

@class IFLYDialogView;

@protocol IFLYDialogViewDelegate <NSObject>

@optional
- (void)ifly_dialogView:(IFLYDialogView *)dialogView askHidingWithCancel:(BOOL)cancel;

@end

@interface IFLYDialogView : UIView

@property (nonatomic, assign) float volume;
@property (nonatomic, copy) NSString *detailText;

@property (nonatomic, weak) id<IFLYDialogViewDelegate> delegate;

- (void)showInView:(UIView *)view animated:(BOOL)animated volume:(float)volume;
- (void)hide:(BOOL)animated;
    
@end
