From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/RAlertView/RAlertView/RAlertView.h | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 107 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/RAlertView/RAlertView/RAlertView.h b/screendisplay/Pods/RAlertView/RAlertView/RAlertView.h new file mode 100755 index 0000000..986713d --- /dev/null +++ b/screendisplay/Pods/RAlertView/RAlertView/RAlertView.h @@ -0,0 +1,107 @@ +// +// RAlertView.h +// RAlert +// +// Created by roycms on 2016/10/11. +// Copyright �� 2016��� roycms. All rights reserved. +// + +#import <UIKit/UIKit.h> +#import "Masonry.h" +#import "RRGB.h" +#import "TextHelper.h" + +/** + ������������ + + - SimpleAlert: ������������ ��������� + - ConfirmAlert: ��������������������������� ������������ + - CancelAndConfirmAlert: ������������������������������ + */ +typedef NS_ENUM(NSInteger,AlertStyle) { + SimpleAlert = 0, + ConfirmAlert, + CancelAndConfirmAlert, +}; + +@interface RAlertView : UIView + +/** + init + + @param style style description + @return return value description + */ +- (instancetype)initWithStyle:(AlertStyle)style; + +/** + Description + + @param style style description + @param width width description + @return return value description + */ +- (instancetype)initWithStyle:(AlertStyle)style width:(CGFloat)width; + +/** + ������������ + */ +- (void)exit; + +/** + ������������ block + */ +@property (nonatomic, copy) void(^confirm)(); + +/** + ������������ block + */ +@property (nonatomic, copy) void(^cancel)(); + +/** + ������ + */ +@property (nonatomic,assign)UIColor *theme; + +/** + ������ view + */ +@property(nonatomic,strong)UIView *mainView; + + +/** + ���������������View + */ +@property (nonatomic,strong)UIView *contentView; + +/** + ��������������� label + */ +@property(nonatomic,strong)UILabel *headerTitleLabel; + +/** + ������������ label + */ +@property(nonatomic,strong)UILabel *contentTextLabel; + +/** + ������������ button + + */ +@property(nonatomic,strong)UIButton *closedButton; +/** + ������������ button + */ +@property(nonatomic,strong)UIButton *confirmButton; + +/** + ������������ button + */ +@property(nonatomic,strong)UIButton *cancelButton; + +/** + ��������������������������������� + */ +@property (nonatomic,assign)BOOL isClickBackgroundCloseWindow; + +@end -- Gitblit v1.8.0