Differences From Artifact [0292b59c78]:
- File
src/OFString.m
— part of check-in
[1483709ab2]
at
2022-08-01 21:20:54
on branch trunk
— Add support for embedding files into binaries
Embedded files are available via the objfw-embedded: URL scheme. (user: js, size: 66556) [annotate] [blame] [check-ins using] [more...]
To Artifact [d6ba8bab44]:
- File src/OFString.m — part of check-in [338d452f33] at 2022-08-11 20:54:05 on branch trunk — OFURLHandler: Add +[openItemAtURL:mode:] (user: js, size: 66403) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
2754 2755 2756 2757 2758 2759 2760 | { [self writeToURL: URL encoding: OFStringEncodingUTF8]; } - (void)writeToURL: (OFURL *)URL encoding: (OFStringEncoding)encoding { void *pool = objc_autoreleasePoolPush(); | < < < < | | 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 | { [self writeToURL: URL encoding: OFStringEncodingUTF8]; } - (void)writeToURL: (OFURL *)URL encoding: (OFStringEncoding)encoding { void *pool = objc_autoreleasePoolPush(); OFStream *stream; stream = [OFURLHandler openItemAtURL: URL mode: @"w"]; [stream writeString: self encoding: encoding]; objc_autoreleasePoolPop(pool); } #ifdef OF_HAVE_BLOCKS - (void)enumerateLinesUsingBlock: (OFStringLineEnumerationBlock)block |
︙ | ︙ |