//
//  ALHomeAleartView.h
//  GMAlpha
//
//  Created by zhouLiang on 2018/12/2.
//  Copyright © 2018 Gengmei. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_OPTIONS(NSUInteger, ClickWhereButtonType) {
    /// 点击发帖
    ClickLeftPost,
    /// 点击打卡
    ClickRightCard
};

@protocol ALHomeAleartViewDelegate <NSObject>

- (void)clickWhitchMethod:(ClickWhereButtonType)type;

@end

@interface ALHomeAleartView : UIView

@property (nonatomic, weak) id<ALHomeAleartViewDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame imgAndTitle:(NSArray <NSArray *>*)imgAndTitle;

- (void)showToView:(UIView *)superView;

- (void)hide;

@end
