No Description

NSString+Additions.h 792B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // NSString+Additions.h
  3. // MPBBank-Vista
  4. //
  5. // Created by Xuhl on 12-12-31.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. //#import "NSString+Url.h"
  10. @interface NSString (NSString_Additions)
  11. + (NSString *)hmac_sha1:(NSString *)key text:(NSString *)text;
  12. + (NSString *)parseCardNoToStarString:(NSString *)no;
  13. + (NSString *)stringWithStringOrNil:(NSString *)string;
  14. - (NSComparisonResult)versionStringCompare:(NSString *)version;
  15. - (BOOL)isCaseInsensitiveEqualToString:(NSString *)string;
  16. - (NSString *)stringByUnescapingHTMLEntities;
  17. + (NSString *)hexStringFromData:(NSData *)data;
  18. + (NSString *)UUIDString;
  19. + (BOOL)isStringEmpty:(NSString *)str;
  20. - (BOOL)pb_containsString:(NSString *)subString;
  21. @end
  22. @interface NSString (Repeat)
  23. - (NSString *)repeatTimes:(NSUInteger)times;
  24. @end