//
//  MHSheetView.h
//  MHActionSheet
//
//  Created by LMH on 16/3/10.
//  Copyright 漏 2016骞?LMH. All rights reserved.

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, NSCellTextStyle) {
    NSTextStyleCenter = 0,    ///cell鏂囧瓧榛樿鏍峰紡灞呬腑
    NSTextStyleLeft,          ///cell鏂囧瓧鏍峰紡灞呭乏
    NSTextStyleRight,         ///cell鏂囧瓧鏍峰紡灞呭彸
};

@protocol MHSheetViewDelegate <NSObject>
- (void)sheetViewDidSelectIndex:(NSInteger)Index selectTitle:(NSString *)title;
@end

@interface MHSheetView : UIView
@property (strong, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) id<MHSheetViewDelegate> delegate;
@property (strong, nonatomic) UIColor *cellTextColor;
@property (strong, nonatomic) UIFont *cellTextFont;
@property (assign, nonatomic) CGFloat cellHeight;
@property (assign, nonatomic) BOOL showTableDivLine;
@property (assign, nonatomic) NSCellTextStyle cellTextStyle;
@property (strong, nonatomic) NSArray *dataSource;
@end
// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com