You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
556 B
32 lines
556 B
// |
|
// NSString+Check.h |
|
// 拍货郎 |
|
// |
|
// Created by 刘峰 on 2019/3/22. |
|
// Copyright © 2019年 刘峰. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
@interface NSString (Check) |
|
|
|
- (BOOL)checkPhone; |
|
|
|
- (BOOL)deptNumInputShouldNumber; //判断是否是数字 |
|
|
|
- (BOOL)checkBankCard; //判断是否是银行卡 |
|
|
|
- (BOOL)isChinese;//判断是否是纯汉字 |
|
|
|
- (BOOL)includeChinese;//判断是否含有汉字 |
|
|
|
- (BOOL)verifyIDCardNumber; |
|
|
|
/// 效验邮箱格式 |
|
- (BOOL)validateEmail; |
|
|
|
@end |
|
|
|
NS_ASSUME_NONNULL_END
|
|
|