Differences From Artifact [f16f9f6de1]:
- File
src/OFString+URLEncoding.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 1361) [annotate] [blame] [check-ins using]
To Artifact [c9eff89f3c]:
- File
src/OFString+URLEncoding.h
— part of check-in
[f3ccf14461]
at
2017-10-29 21:58:14
on branch trunk
— Convert methods to properties where appropriate
This improves Swift compatibility. (user: js, size: 1347) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | extern int _OFString_URLEncoding_reference; #ifdef __cplusplus } #endif @interface OFString (URLEncoding) /*! | | | > | > > | < < < < < < < | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | extern int _OFString_URLEncoding_reference; #ifdef __cplusplus } #endif @interface OFString (URLEncoding) /*! * The string as an URL encoded string for use in a URL. */ @property (readonly, nonatomic) OFString *stringByURLEncoding; /*! * The string as an URL decoded string. */ @property (readonly, nonatomic) OFString *stringByURLDecoding; /*! * @brief Encodes a string for use in a URL, but does not escape the specified * ignored characters. * * @param allowed A C string of characters that should not be escaped * * @return A new autoreleased string */ - (OFString *)stringByURLEncodingWithAllowedCharacters: (const char *)allowed; @end OF_ASSUME_NONNULL_END |