DYAdAlertView.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // DYAdAlertView.h
  3. // DYAdAlertViewApp
  4. //
  5. // Created by Daniel Yao on 16/12/16.
  6. // Copyright © 2016年 Daniel Yao. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class FLAnimatedImageView;
  10. typedef void(^gotoCaiBlockbtb)(NSNotification *personData);
  11. @protocol DYAdAlertDelegate <NSObject>
  12. -(void)clickAlertViewAtIndex:(NSInteger)index;
  13. @optional
  14. -(void)clickLongTitleGoTo:(NSInteger *)note;
  15. @end
  16. @interface DYAdAlertView : UIView
  17. @property(nonatomic,assign)id<DYAdAlertDelegate> delegate;
  18. +(DYAdAlertView *)showInView:(UIView *)view theDelegate:(id)delegate theADInfo: (NSArray *)dataList placeHolderImage: (NSString *)placeHolderStr;
  19. -(DYAdAlertView *)showInViewSelf:(UIView *)view theDelegate:(id)delegate theADInfo: (NSArray *)dataList placeHolderImage: (NSString *)placeHolderStr;
  20. +(void)dissmissUI;
  21. -(void)dissmissDYAdAlertView;
  22. @property (nonatomic,copy) NSString *strURL;
  23. @property (nonatomic,copy) gotoCaiBlockbtb goBlock;
  24. @property (nonatomic,weak) UIButton *titleLong;
  25. @end
  26. @interface DYItemView : UIView
  27. @property(nonatomic,assign)NSInteger index;//记录当前第几个item
  28. @property(nonatomic,strong)FLAnimatedImageView *imageView;//自定义视图
  29. @property(nonatomic,strong)UILabel *lable;//自定义文字显示
  30. @end