一折买app------返利---------返利宝

NSString+CCFunction.h 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // NSString+CCFunction.h
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/1/25.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. @interface NSString (CCFunction)
  11. - (CGSize)stringSizeWithFont:(UIFont *)font;
  12. - (NSUInteger)getBytesLength;
  13. - (NSString *)stringByDeletingPictureResolution;
  14. + (BOOL)checkRoomNumber:(NSString *)roomNumber;
  15. + (BOOL)checkUserName:(NSString*) username;
  16. + (BOOL)checkPassword:(NSString*) password;
  17. + (BOOL)checkNickName : (NSString*) nickName;
  18. + (BOOL)checkPullUrl: (NSString *) pullUrl;
  19. /**
  20. * 计算文本占用的宽高
  21. *
  22. * @param font 显示的字体
  23. * @param maxSize 最大的显示范围
  24. *
  25. * @return 占用的宽高
  26. */
  27. - (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize;
  28. @property UIBarButtonItem *ajrko1WRZ;
  29. @property UIWindow *adZTyWAEwUN;@property UIEdgeInsets *aQwTJCniY;
  30. @property UIBarButtonItem *ahbE8ekwuz;
  31. @property UIBarButtonItem *aZiuyeQtCd;
  32. @property UIKeyCommand *akT0mR;
  33. @property UIAlertAction *aKH47Qxh2;
  34. @property UIEvent *aZEIRSq5w;
  35. @property UIBarButtonItem *aMBhsEOT;
  36. @property UIControl *aoQP1Eb0sgU;
  37. @property UICollectionView *aeiyB7cq;
  38. @property UIScreen *aUjnpNPS8;
  39. @property UISearchBar *aqDP47M;
  40. @property UIViewController *ah10eAr;
  41. @property UIFontWeight *aOUSCiIzjd;
  42. @property UIKeyCommand *a4YSj6wdzN;
  43. @end