This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHONE_REGEX @"([+1]{2})([1-9]{1})[0-9]{9}?|([1-9]{1})[0-9]{9}|^$" | |
This regex check for following formates +1xxxxxxxxxx (+11234567890) | |
xxxxxxxxxx (1234567890) | |
if phone is optional(nil phone number) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface Model (AdditionalParam) | |
@property (nonatomic, strong) NSString <Optional> * new_key_name; | |
@end |