al
Aeline
2021-03-08 ce4eaddf9eb835f01e6bf5845a063d306f322b24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
//  Share.h
//  BuWanVideo2.0
//
//  Created by weikou on 16/8/19.
//  Copyright © 2016年 com.yeshi.buwansheque.ios. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
#import <AVFoundation/AVFoundation.h>
 
typedef void(^closure)();
 
@interface Share : NSObject
 
@property (nonatomic ,strong) NSString *shareTitle;
 
@property (nonatomic ,strong) UIImage *shareImage;
 
/**
 判断是否是电子邮箱
 
 @param candidate 传入需要验证的邮箱地址
 
 @return Yes为是
 */
+(BOOL)isEmailAddress:(NSString*)candidate;
 
/**
 输入框视图的晃动
 
 @param sender 传入需要晃动的视图
 @param info   提示信息
 */
+(void)ShakeView:(UITextField *)sender WithInfomation:(NSString *)info;
 
/**
 按钮动态信息提示
 
 @param buttton 需要动态显示信息的按钮
 @param title   动态显示的文字
 @param color   颜色
 */
+(void)animateButtonWithButton:(UIButton *)buttton WithTitle:(NSString *)title WithColor:(UIColor *)color;
 
/**
 延时函数
 
 @param delay   时间
 @param Closure 操作
 */
+(void)delay:(double)delay withBlack:(closure)Closure;
@end