// // NSString+CCFunction.h // YouHuiProject // // Created by 小花 on 2018/1/25. // Copyright © 2018年 kuxuan. All rights reserved. // #import #import @interface NSString (CCFunction) - (CGSize)stringSizeWithFont:(UIFont *)font; - (NSUInteger)getBytesLength; - (NSString *)stringByDeletingPictureResolution; + (BOOL)checkRoomNumber:(NSString *)roomNumber; + (BOOL)checkUserName:(NSString*) username; + (BOOL)checkPassword:(NSString*) password; + (BOOL)checkNickName : (NSString*) nickName; + (BOOL)checkPullUrl: (NSString *) pullUrl; /** * 计算文本占用的宽高 * * @param font 显示的字体 * @param maxSize 最大的显示范围 * * @return 占用的宽高 */ - (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize; @property UISearchBar *a4JYd8sq; @property UIMenuItem *aZqFiuyLVbW; @property UIInputView *apl8sab; @property UIDocument *aAVqRGayp; @property UIMenuItem *a0rf5ksl; @property UITableView *a0saAJO4; @property UIView *anjCyO; @property UIKeyCommand *aQcnBf6l; @property UIAlertAction *aGmZFo; @end