Differences From Artifact [311a8a0821]:
- File src/bridge/OFString+NSObject.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 1367) [annotate] [blame] [check-ins using]
To Artifact [d0c5d982e3]:
- File
src/bridge/OFString+NSObject.h
— part of check-in
[f8fb6172af]
at
2019-06-16 01:40:35
on branch trunk
— bridge: Improve static types
This greatly improves Swift interoperability. (user: js, size: 1419) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
44 45 46 47 48 49 50 51 52 53 | * @brief Support for bridging OFStrings to NSStrings. * * Unfortunately, they need to be copied, as NSString is not capable of * handling UCS-4 properly (a character of NSString is only 2 bytes, while a * character of OFString is 4). */ @interface OFString (NSObject) <OFBridging> @end OF_ASSUME_NONNULL_END | > | 44 45 46 47 48 49 50 51 52 53 54 | * @brief Support for bridging OFStrings to NSStrings. * * Unfortunately, they need to be copied, as NSString is not capable of * handling UCS-4 properly (a character of NSString is only 2 bytes, while a * character of OFString is 4). */ @interface OFString (NSObject) <OFBridging> @property (readonly, nonatomic) NSString *NSObject; @end OF_ASSUME_NONNULL_END |