Sin descripción

FKExitRemindView.h 774B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // FKExitOrdersRemindView.h
  3. // FirstLink
  4. //
  5. // Created by 施昌鹏 on 16/7/12.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger,ButtonType) {
  10. confirmButton = 0,
  11. cancelButton = 1
  12. };
  13. @class FKExitRemindView;
  14. @protocol FKExitRemindViewDelegate <NSObject>
  15. @optional
  16. -(void)exitRemindView:(FKExitRemindView *)exitRemindView clickedButtonAtIndex:(NSInteger)buttonIndex;
  17. @end
  18. @interface FKExitRemindView : UIView
  19. @property(nonatomic, weak) id<FKExitRemindViewDelegate>delegate;
  20. -(void)showInView:(UIView *)view;
  21. -(void)setLogoHidden:(BOOL)hidden;
  22. + (instancetype)initWithTitleString:(NSString *)titleString confirmButtonText:(NSString *)confirmText cancelButtonText:(NSString *)cancelText;
  23. @end