// // DYAdAlertView.h // DYAdAlertViewApp // // Created by Daniel Yao on 16/12/16. // Copyright © 2016年 Daniel Yao. All rights reserved. // #import @class FLAnimatedImageView; typedef void(^gotoCaiBlockbtb)(NSNotification *personData); @protocol DYAdAlertDelegate -(void)clickAlertViewAtIndex:(NSInteger)index; @optional -(void)clickLongTitleGoTo:(NSInteger *)note; @end @interface DYAdAlertView : UIView @property(nonatomic,assign)id delegate; +(DYAdAlertView *)showInView:(UIView *)view theDelegate:(id)delegate theADInfo: (NSArray *)dataList placeHolderImage: (NSString *)placeHolderStr; -(DYAdAlertView *)showInViewSelf:(UIView *)view theDelegate:(id)delegate theADInfo: (NSArray *)dataList placeHolderImage: (NSString *)placeHolderStr; +(void)dissmissUI; -(void)dissmissDYAdAlertView; @property (nonatomic,copy) NSString *strURL; @property (nonatomic,copy) gotoCaiBlockbtb goBlock; @property (nonatomic,weak) UIButton *titleLong; @end @interface DYItemView : UIView @property(nonatomic,assign)NSInteger index;//记录当前第几个item @property(nonatomic,strong)FLAnimatedImageView *imageView;//自定义视图 @property(nonatomic,strong)UILabel *lable;//自定义文字显示 @end