NSString+MT.h 367 B

123456789101112131415161718192021222324252627
  1. //
  2. // NSString+MT.h
  3. //
  4. // Created by Simon on 2019/3/22.
  5. // Copyright © 2019 Simon. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface NSString (MT)
  10. /**
  11. * URLEncode
  12. */
  13. - (NSString *)URLEncodedString;
  14. /**
  15. * URLDecode
  16. */
  17. -(NSString *)URLDecodedString;
  18. -(CGFloat)computeStringHeight;
  19. @end
  20. NS_ASSUME_NONNULL_END