NSString+Phone.h 303 B

12345678910111213141516171819
  1. //
  2. // NSString+Phone.h
  3. // BuguLive
  4. //
  5. // Created by GuoMs on 16/8/31.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NSString (Phone)
  10. +(NSString *)PhoneType;//设备型号
  11. - (BOOL)matchRegex:(NSString *)regex;
  12. - (BOOL)isValidateMobile;
  13. @end